GHSA-h653-95qw-h2mp
Ansible leaks sensitive information to logs when told not to
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2019-14858
- Alias
- PYSEC-2019-171
- CVSS_V3
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS_V4
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| PyPI · ansible | introduced 2.9.0a1, fixed 2.9.0rc4 |
| PyPI · ansible | introduced 2.8.0a1, fixed 2.8.6 |
| PyPI · ansible | introduced 2.7.0a1, fixed 2.7.14 |
| PyPI · ansible | introduced 2.0, fixed 2.6.20 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2019-14858 ADVISORY
- https://github.com/ansible/ansible/pull/63405 WEB
- https://github.com/ansible/ansible/commit/0fd656e9964a91f2e8b1e9bbf78c74661ab9d37b WEB
- https://github.com/ansible/ansible/commit/3dfb8e81bb5f776a6b00c7a90dd087e85b71f8bb WEB
- https://github.com/ansible/ansible/commit/87f8d77d70476454f7fe2381bd363a329ce4266c WEB
- https://github.com/ansible/ansible/commit/f610ed3a4eb87eb557200606279796921fa9b722 WEB
- https://access.redhat.com/errata/RHSA-2019:3201 WEB
- https://access.redhat.com/errata/RHSA-2019:3202 WEB
- https://access.redhat.com/errata/RHSA-2019:3203 WEB
- https://access.redhat.com/errata/RHSA-2019:3207 WEB
- https://access.redhat.com/errata/RHSA-2020:0756 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14858 WEB
- https://github.com/ansible/ansible PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-171.yaml WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |