CVE-2019-14858
Ansible leaks sensitive information to logs when told not to
Reported by redhat · Published October 14, 2019
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Ansible | ansible_engine-2.x up to 2.8, ansible_tower-3.x up to 3.5 |
| Red Hat | Ansible | 3.5, 2.8 |
| alpine | ansible | 0, 0, 0 |
| PyPI | ansible | 2.9.0a1, 2.8.0a1, 2.7.0a1 |
| alpine | ansible-base | 0 |
Timeline
- Oct 14, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (13 in total, the first dated here)
- Jun 7, 2026 CVE Updated
- Sep 14, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch (5 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-14858
vulnetix vdb fixes CVE-2019-14858
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-14858/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- RHSA-2019:3203 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:3202 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:3207 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:3201 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0756 vendor-advisoryx_refsource_REDHAT
- openSUSE-SU-2020:0513 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2020:0523 vendor-advisoryx_refsource_SUSE
- https://nvd.nist.gov/vuln/detail/CVE-2019-14858 advisory
- https://github.com/advisories/GHSA-h653-95qw-h2mp advisory
- https://github.com/ansible/ansible/pull/63405 patch
- https://github.com/ansible/ansible/commit/0fd656e9964a91f2e8b1e9bbf78c74661ab9d37b patch
- https://github.com/ansible/ansible/commit/3dfb8e81bb5f776a6b00c7a90dd087e85b71f8bb patch
- https://github.com/ansible/ansible/commit/87f8d77d70476454f7fe2381bd363a329ce4266c patch
- https://github.com/ansible/ansible/commit/f610ed3a4eb87eb557200606279796921fa9b722 patch
- https://github.com/ansible/ansible url
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-171.yaml advisory