CVE-2018-16876: Infoleak

Published Dec 7, 2018
·
Updated

ansible before versions 2.5.14, 2.6.11, 2.7.5 is vulnerable to a information disclosure flaw in vvv+ mode with nolog on that can lead to leakage of sensible data.

Other sources

ansible before versions 2.5.14, 2.6.11, 2.7.5 is vulnerable to a information disclosure flaw in vvv+ mode with nolog on that can lead to leakage of sensible data.

Launchpad

It was found that when a retry task in ansible run with -vvv fails, it will log the raw return code, stdout and stderr from ssh which could have contained sensitive data.

Upstream patch:

https://github.com/ansible/ansible/pull/49569/commits/4c6d714aefb05366cb329e139214c89ebb364899

Red Hat

Affected Software

26 affected componentsFixes available
redhat/ansible-engine<2.5.14
2.5.14
redhat/ansible-engine<2.6.11
2.6.11
redhat/ansible-engine<2.7.5
2.7.5
pip/ansible>=2.7.0a1<2.7.5
2.7.5
pip/ansible>=2.6.0a1<2.6.11
2.6.11
pip/ansible<2.5.14
2.5.14
redhat ansible>=2.5.0<2.5.14
redhat ansible>=2.6.0<2.6.11
redhat ansible>=2.7.0<2.7.5
Debian Debian Linux=9.0
redhat Ansible Engine=2.0
redhat Ansible Engine=2.5
redhat Ansible Engine=2.6
redhat Ansible Engine=2.7
redhat Openstack=14
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
All of the following
SUSE Package Hub
SUSE Linux Enterprise=12.0
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.04
SUSE Package Hub
SUSE Linux Enterprise=12.0
debian/ansible
2.10.7+merged+base+2.10.17+dfsg-0+deb11u12.10.7+merged+base+2.10.17+dfsg-0+deb11u47.7.0+dfsg-3+deb12u112.0.0+dfsg-0+deb13u113.4.0+dfsg-1

Event History

Jan 3, 2019
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
DescriptionSeverityWeakness
May 13, 2022
Advisory Published
via GitHub·01:07 AM
Jan 11, 2024
Data Sourced
via Launchpad·10:54 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·12:40 AM
RemedyDescriptionSeverityAffected Software
Mar 18, 2026
Data Sourced
via Debian·01:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this Ansible vulnerability?

The vulnerability ID of this Ansible vulnerability is CVE-2018-16876.

2

What is the severity level of CVE-2018-16876?

The severity level of CVE-2018-16876 is medium with a CVSS score of 5.3.

3

What is the affected software for CVE-2018-16876?

The affected software for CVE-2018-16876 includes Ansible versions 2.5.14, 2.6.11, and 2.7.5.

4

How can I fix CVE-2018-16876?

To fix CVE-2018-16876, update Ansible to version 2.5.14, 2.6.11, or 2.7.5.

5

Where can I find more information about CVE-2018-16876?

You can find more information about CVE-2018-16876 at the following references: [GitHub](https://github.com/ansible/ansible/pull/49569), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16876), [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2018:3835).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203