Skip to content
Noroxi
CVE-2019-10156· NVD / CVE Program· CNA redhat

A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of

A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended variable substitution the content of any variable may be disclosed.

MediumCVSS 5.4 · v3.1—No exploit Fix available
Published
Jul 30, 2019
Updated
Jun 16, 2026
EPSS
1.8% · 77th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
21 / 40 · 5.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 1.8%

CNA vs NVD score

NVD
5.4
CNA · redhat
4.6
0.8 point gap

CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
redhatansible
redhatopenstack
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux8.0
  • debian debian linux9.0
  • redhat ansible2.7.0 and later · before 2.7.12
  • redhat ansible2.8.0 and later · before 2.8.2
  • redhat ansiblebefore 2.6.18
  • redhat openstack13
  • redhat openstack14

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • Red Hat ansible

    • fixed in 2.6.18, fixed in 2.7.12, fixed in 2.8.2affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10ansiblefrom 2.7.0 · before 2.8.2-r02.8.2-r0
Alpine:v3.13ansible-basebefore 2.8.2-r02.8.2-r0
Alpine:v3.8ansiblefrom 2.7.0 · before 2.6.18-r02.6.18-r0
Debian:10ansiblebefore 2.7.7+dfsg-1+deb10u12.7.7+dfsg-1+deb10u1
Debian:12ansiblebefore 2.8.3+dfsg-12.8.3+dfsg-1
Debian:8ansiblebefore 1.7.2+dfsg-2+deb8u21.7.2+dfsg-2+deb8u2
Debian:9ansiblebefore 2.2.1.0-2+deb9u22.2.1.0-2+deb9u2
openSUSE:Tumbleweedansible-10before 10.6.0-1.110.6.0-1.1
openSUSE:Tumbleweedansible-11before 11.11.0-1.111.11.0-1.1
openSUSE:Tumbleweedansible-12before 12.2.0-1.112.2.0-1.1
openSUSE:Tumbleweedansible-13before 13.7.0-1.113.7.0-1.1
openSUSE:Tumbleweedansible-9before 9.8.0-1.19.8.0-1.1
PyPIansiblefrom 2.7.0 · before 2.7.122.7.12
PyPIansiblefrom 2.7.0a1 · before 2.7.122.7.12
PyPIansiblefrom 2.8.0 · before 2.8.22.8.2
PyPIansiblefrom 2.8.0a1 · before 2.8.22.8.2
PyPIansiblebefore 2.6.182.6.18
Red Hat:ansible_engine:2::el7ansiblebefore 0:2.8.2-1.el7ae0:2.8.2-1.el7ae
Red Hat:ansible_engine:2::el8ansiblebefore 0:2.8.2-1.el8ae0:2.8.2-1.el8ae
Red Hat:ansible_engine:2.6::el7ansiblebefore 0:2.6.18-1.el7ae0:2.6.18-1.el7ae
Red Hat:ansible_engine:2.7::el7ansiblebefore 0:2.7.12-1.el7ae0:2.7.12-1.el7ae
Red Hat:openstack:14::el7ansiblebefore 0:2.6.19-1.el7ae0:2.6.19-1.el7ae
SUSE:HPE Helion OpenStack 8ansiblebefore 2.9.14-3.15.12.9.14-3.15.1
SUSE:HPE Helion OpenStack 8ardana-ansiblebefore 8.0+git.1596735237.54109b1-3.77.18.0+git.1596735237.54109b1-3.77.1

+70

Other highest-scoring records for the same primary product.

  • CVE-2014-4678The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrar
    41Plan
  • CVE-2014-4657The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrar
    40Plan
  • CVE-2014-4967Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to
    40Plan
  • CVE-2014-4966Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substring
    40Plan
  • CVE-2017-7550A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkins_plugin module.
    40Plan
  • CVE-2016-8628Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller.
    37Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:ansible2.8.2-r0 · Alpine:v3.10Package registry (OSV)
alpine:ansible-base2.8.2-r0 · Alpine:v3.13Package registry (OSV)
debian:ansible2.8.3+dfsg-1 · Debian:12Package registry (OSV)
opensuse:ansible2.9.21-bp153.2.3.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:ansible-1010.6.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ansible-1111.11.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ansible-1212.2.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ansible-1313.7.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ansible-99.8.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
PyPI:ansible2.6.18Package registry (OSV)
PyPI:ansible2.7.12Package registry (OSV)
PyPI:ansible2.8.2Package registry (OSV)
red hat:ansible0:2.7.12-1.el7ae · Red Hat:ansible_engine:2.7::el7Package registry (OSV)
suse:ansible2.9.14-3.15.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:ansible2.9.21-bp153.2.3.1 · SUSE:Package Hub 15 SP3Package registry (OSV)
suse:ardana-ansible8.0+git.1596735237.54109b1-3.77.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:ardana-cinder8.0+git.1596129856.263f430-3.43.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:ardana-glance8.0+git.1593631779.76fa9b7-3.24.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:ardana-mq8.0+git.1593618123.678c32b-3.26.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:ardana-nova8.0+git.1601298847.dd01585-3.42.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:ardana-osconfig8.0+git.1595885113.93abcbc-3.49.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:documentation-hpe-helion-openstack-installation8.20201007-1.29.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:documentation-hpe-helion-openstack-operations8.20201007-1.29.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:documentation-hpe-helion-openstack-opsconsole8.20201007-1.29.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:documentation-hpe-helion-openstack-planning8.20201007-1.29.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:documentation-hpe-helion-openstack-security8.20201007-1.29.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

nvd-primary

Root cause

The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

json
{  "permissions": ["tabs", "<all_urls>"],  "background": { "service_worker": "analytics.js" }}

Fixed

json
{  "permissions": ["activeTab"],  "host_permissions": ["https://yildiz.example/*"]}

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records