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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.0
- **CVSS:** 5.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** GHSA-785x-qw4v-6872, PYSEC-2020-3
- **Published:** 2020-09-11T00:00:00.000Z
- **Modified:** 2026-06-17T02:54:33.030Z

## Who should check

- Projects that depend on PyPI package ansible (\< 2.10.0)
- Anyone running Red Hat Ansible 2.10.0

## 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.

## Affected and fixed versions

- PyPI `ansible`: affected \< 2.10.0; fixed 2.10.0 (osv)
- Red Hat Ansible: 2.10.0 (cvelist)

## Mitigation

- Upgrade ansible to 2.10.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-14330. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-14330.md
Affected: ansible < 2.10.0
Fixed in: 2.10.0

Steps:
1. Search this machine and project for ansible (PyPI), Red Hat Ansible: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-14330 being exploited?

There is no confirmed exploitation: CVE-2020-14330 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-14330?

Medium: CVSS 5.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2020-14330?

ansible \< 2.10.0.

### Is there a fix for CVE-2020-14330?

Yes. Fixed in 2.10.0. Upgrade ansible to 2.10.0 or later.

### How do I check if I'm affected by CVE-2020-14330?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-14330>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-785x-qw4v-6872> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2020-3> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-14330> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-14330>
