CVE-2017-7550: Ansible Insertion of Sensitive Information into Log File vulnerability
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.6321%
CWE
Published
5/13/2022
Updated
9/4/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
ansible | pip | >= 2.4.0.0, < 2.4.1.0 | 2.4.1.0 |
ansible | pip | >= 2.3.0.0, < 2.3.3.0 | 2.3.3.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from the 'params' argument handling in both modules. The commit diff shows both modules previously had code that merged user-provided 'params' dict into module parameters without proper validation. This allowed attackers to inject sensitive parameters like passwords that would bypass Ansible's security controls (like no_log) and appear in logs. The removal of this 'params' handling in the patch confirms these were the vulnerable code paths.