GitHub Advisoryadvisory · PyPI

GHSA-h653-95qw-h2mp Ansible leaks sensitive information to logs when told not to

MEDIUM Published 2022-05-24 Modified 2024-09-10 Official page ↗
Aliases
CVE-2019-14858
Ecosystem
PyPI
Packages
ansible
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-532
Reviewed
2024-04-22

Affected packages

• PyPI ansible: >= 2.9.0a1, < 2.9.0rc4 → fixed in 2.9.0rc4 • PyPI ansible: >= 2.8.0a1, < 2.8.6 → fixed in 2.8.6 • PyPI ansible: >= 2.7.0a1, < 2.7.14 → fixed in 2.7.14 • PyPI ansible: >= 2.0, < 2.6.20 → fixed in 2.6.20

Description

A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as `no_log`, passing an invalid parameter name to the module will cause the task to fail before the `no_log` options in the sub parameters are processed. As a result, data in the sub parameter fields will not be masked and will be displayed if Ansible is run with increased verbosity and present in the module invocation arguments for the task.

Related

Alias · CVE (1)

  • CVE-2019-14858 A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. vulnerability

Weakness · CWE (1)

  • CWE-532 Insertion of Sensitive Information into Log File weakness

References