CVE-2019-14846: Ansible Uses Plugins That Disclose Credentials
7.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.25927%
CWE
Published
5/24/2022
Updated
9/9/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
ansible | pip | >= 0, < 2.6.20 | 2.6.20 |
ansible | pip | >= 2.7.0a1, < 2.7.14 | 2.7.14 |
ansible | pip | >= 2.8.0a1, < 2.8.6 | 2.8.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from Ansible's logging configuration setting the global log level to DEBUG when LOG_PATH
was enabled. This caused libraries like boto3
(used by AWS plugins) to log credentials at DEBUG level. The critical change in the patch was modifying the logging level from DEBUG to INFO in lib/ansible/utils/display.py
, specifically in the Display.filter
method. This function's DEBUG-level configuration directly enabled credential leakage through third-party library logging behavior.