# CVE-2020-14330: Improper Output Neutralization and Improper Encoding or Escaping of Output for Logs in ansible

- Severity: Medium 5.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-11T00:00:00.000Z
- Modified: 2026-06-17T02:54:33.030Z
- Also known as: GHSA-785x-qw4v-6872, PYSEC-2020-3
- Weaknesses: CWE-116, CWE-117, CWE-532
- Assigned by: redhat

## Description

An Improper Output Neutralization for Logs flaw was found in Ansible when using the uri module, where sensitive data is exposed to content and json output. This flaw allows an attacker to access the logs or outputs of performed tasks to read keys used in playbooks from other users within the uri module. The highest threat from this vulnerability is to data confidentiality.

(As written by CVE List.)

## Affected

- Red Hat Ansible: 2.10.0
- ansible (PyPI): before 2.10.0
- redhat ansible_engine: before 2.9.12
- debian debian_linux: 10.0

## Every score

- redhat: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/ansible/ansible/issues/68400> (exploit, issue-tracking, report, third-party-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14330> (issue-tracking, report, vendor-advisory, web)
- <https://www.debian.org/security/2021/dsa-4950> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-14330> (advisory)
- <https://github.com/ansible/ansible/pull/69653> (web)
- <https://github.com/ansible/ansible/commit/e0f25a2b1f9e6c21f751ba0ed2dc2eee2152983e> (web)
- <https://github.com/advisories/GHSA-785x-qw4v-6872> (advisory)
- <https://github.com/ansible/ansible> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-3.yaml> (web)

## Sources

- CVE List: [CVE-2020-14330](https://www.cve.org/CVERecord?id=CVE-2020-14330), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-785x-qw4v-6872](https://github.com/advisories/GHSA-785x-qw4v-6872), CC-BY-4.0, modified 2024-09-05
- NVD: [CVE-2020-14330](https://nvd.nist.gov/vuln/detail/CVE-2020-14330), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-3](https://osv.dev/vulnerability/PYSEC-2020-3), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-14330 · Whole record: https://cve.day/CVE-2020-14330.json · Rebuilt by cve.day 2026-11-25T22:57:54.677Z
