CVE-2019-14858

ansible: sub parameters marked as no_log are not masked in certain failure scenarios

Published Oct 14, 2019 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2019-0005 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.
Github GHSA Github GHSA GHSA-h653-95qw-h2mp Ansible leaks sensitive information to logs when told not to
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 12:26 AM
Reserved
Aug 10, 2019, 12:00 AM
Status
Modified
Published
Oct 14, 2019, 3:15 PM
Modified
Jun 17, 2026, 2:19 AM
Severity
Moderate
Public date
Oct 11, 2019, 12:00 AM