CVE-2021-20191
Aliases:GHSA-8f4m-hccc-8qphPYSEC-2021-124
Advisory lineage Upstream: 0 Downstream: 18
Modified
Published: 26 May 2021, 00:00
Last modified:03 Aug 2024, 17:30
Vulnerability Summary
Overall Risk (default)
low
22/100 CVSS Score
5.5 MEDIUM
v3.1 (nvd)
EPSS Score
0.02% LOW
0% probability -0.01%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
26 May 2021, 00:00
Published
Vulnerability first disclosed
03 Aug 2024, 17:30
Last Modified
Vulnerability information updated
Description
A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality. Versions before ansible 2.9.18 are affected.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- v2.0•LOW•Score: 2.1AV:L/AC:L/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 0.02%• Percentile: 7%
Techniques & Countermeasures
- CWE-532•Insertion of Sensitive Information into Log File
The product writes sensitive information to a log file.
Affected Systems
- oracle•virtualization
4.0
- PyPI•ansible
≥ 2.9.0a1, < 2.9.18rc1 | < 2.8.19rc1 | ≥ 2.10.0a1, < 2.10.7 | ≥ 2.10.0, < 2.10.7
- redhat•ansible
< 2.8.19 | ≥ 2.9.0, < 2.9.18 | ≥ 2.10.0, < 2.10.7
- redhat•ansible_tower
3.0
- redhat•cisco_nx-os_collection
< 1.4.0
- redhat•community_general_collection
< 1.3.6 | ≥ 2.0.0, < 2.0.1
- redhat•community_network_collection
< 1.3.2 | ≥ 2.0.0, < 2.0.1
- redhat•docker_community_collection
< 1.2.2
- redhat•google_cloud_platform_ansible_collection
1.0.2
References (11)
- https://bugzilla.redhat.com/show_bug.cgi?id=1916813
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-20191
- https://github.com/ansible/ansible/pull/73488
- https://github.com/ansible/ansible/pull/73489
- https://github.com/ansible/ansible/commit/cc82d986c40328d4ae81298a9d287c95a6326bb0
- https://github.com/ansible/ansible/commit/d74a1b1d1325af2a24848044cf2858987f5a3ecc
- https://access.redhat.com/security/cve/cve-2021-20191
- https://github.com/advisories/GHSA-8f4m-hccc-8qph
- https://github.com/ansible/ansible
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-124.yaml