Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2017-7481: Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe.

CriticalCVSS 9.8 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Plan (action score 40/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 4.7% (FIRST EPSS); higher than 92% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: ansible (Debian:12) 2.3.1.0+dfsg-1; ansible (Debian:9) 2.2.1.0-2+deb9u2; ansible-10 (openSUSE:Tumbleweed) 10.6.0-1.1.
  • Severity is disputed: the assigning authority (CNA) scores it 5.3, NVD 9.8.

Add it to your regular patch cycle. Upgrade to ansible (Debian:12) 2.3.1.0+dfsg-1; ansible (Debian:9) 2.2.1.0-2+deb9u2; ansible-10 (openSUSE:Tumbleweed) 10.6.0-1.1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.

Published
Jul 19, 2018
Updated
Jun 16, 2026
EPSS
4.7% · 92th percentile

Report tools

JSON

Action score

40

Plan

Add it to your regular patch cycle.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.7%

CNA vs NVD score

NVD
9.8
CNA · redhat
5.3
4.5 point gap

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

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

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2017-7481

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
redhatopenshift container platform
redhatopenstack
redhatstorage console
redhatvirtualization
redhatvirtualization manager
redhatgluster storage
redhatenterprise linux
redhatansible engine
canonicalubuntu linux
debiandebian linux

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.

  • [UNKNOWN] ansible

    • ansible 2.4.0.0, ansible 2.3.1.0affected

Package-level exposure

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

EcosystemPackageAffected rangeFix
Debian:12ansiblebefore 2.3.1.0+dfsg-12.3.1.0+dfsg-1
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-14before 14.6.0-1.114.6.0-1.1
openSUSE:Tumbleweedansible-9before 9.8.0-1.19.8.0-1.1
PyPIansiblefrom 2.2.0.0 · before 2.2.3.02.2.3.0
PyPIansiblefrom 2.3.0.0 · before 2.3.1.02.3.1.0
PyPIansiblefrom 2.3.2.0 · before 2.4.0.02.4.0.0
PyPIansiblebefore 2.3.1.02.3.1.0
PyPIansiblebefore 2.1.6.02.1.6.0
Red Hat:openshift:3.2::el7ansiblebefore 0:2.2.3.0-1.el70:2.2.3.0-1.el7
Red Hat:openshift:3.2::el7atomic-openshift-utilsbefore 0:3.2.56-1.git.0.b844ab7.el70:3.2.56-1.git.0.b844ab7.el7
Red Hat:openshift:3.2::el7openshift-ansiblebefore 0:3.2.56-1.git.0.b844ab7.el70:3.2.56-1.git.0.b844ab7.el7
Red Hat:openshift:3.2::el7openshift-ansible-docsbefore 0:3.2.56-1.git.0.b844ab7.el70:3.2.56-1.git.0.b844ab7.el7
Red Hat:openshift:3.2::el7openshift-ansible-filter-pluginsbefore 0:3.2.56-1.git.0.b844ab7.el70:3.2.56-1.git.0.b844ab7.el7
Red Hat:openshift:3.2::el7openshift-ansible-lookup-pluginsbefore 0:3.2.56-1.git.0.b844ab7.el70:3.2.56-1.git.0.b844ab7.el7
Red Hat:openshift:3.2::el7openshift-ansible-playbooksbefore 0:3.2.56-1.git.0.b844ab7.el70:3.2.56-1.git.0.b844ab7.el7
Red Hat:openshift:3.2::el7openshift-ansible-rolesbefore 0:3.2.56-1.git.0.b844ab7.el70:3.2.56-1.git.0.b844ab7.el7
Red Hat:openshift:3.3::el7atomic-openshift-utilsbefore 0:3.3.82-1.git.0.af0c922.el70:3.3.82-1.git.0.af0c922.el7
Red Hat:openshift:3.3::el7openshift-ansiblebefore 0:3.3.82-1.git.0.af0c922.el70:3.3.82-1.git.0.af0c922.el7
Red Hat:openshift:3.3::el7openshift-ansible-callback-pluginsbefore 0:3.3.82-1.git.0.af0c922.el70:3.3.82-1.git.0.af0c922.el7

+27

Other highest-scoring records for the same primary product.

  • CVE-2018-1085openshift-ansible before versions 3.9.23, 3.7.46 deploys a misconfigured etcd file that causes the SSL client certificate authentication to…
    40Plan
  • CVE-2020-27836A flaw was found in cluster-ingress-operator.
    39Monitor
  • CVE-2019-3899It was found that default configuration of Heketi does not require any authentication potentially exposing the management interface to…
    39Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2018-1070Jun 12, 2018 · routing before version 3.10 is vulnerable to an improper input validation of the Openshift Routing configuration which can cause an entire…
    30Monitor
  • ← EarlierCVE-2018-10843Jul 2, 2018 · source-to-image component of Openshift Container Platform before versions atomic-openshift 3.7.53, atomic-openshift 3.9.31 is vulnerable to…
    35Monitor
  • Later →CVE-2017-12195Jul 27, 2018 · A flaw was found in all Openshift Enterprise versions using the openshift elasticsearch plugin.
    19Monitor

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
debian:ansible2.3.1.0+dfsg-1 · Debian:12Package 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-1414.6.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ansible-99.8.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
PyPI:ansible2.1.6.0Package registry (OSV)
PyPI:ansible2.2.3.0Package registry (OSV)
PyPI:ansible2.3.1.0Package registry (OSV)
PyPI:ansible2.4.0.0Package registry (OSV)
red hat:ansible0:2.2.3.0-1.el7 · Red Hat:openshift:3.2::el7Package registry (OSV)
red hat:ansible-doc0:2.3.1.0-3.el7 · Red Hat:rhev_manager:4Package registry (OSV)
red hat:atomic-openshift-utils0:3.2.56-1.git.0.b844ab7.el7 · Red Hat:openshift:3.2::el7Package registry (OSV)
red hat:openshift-ansible0:3.2.56-1.git.0.b844ab7.el7 · Red Hat:openshift:3.2::el7Package registry (OSV)
red hat:openshift-ansible-callback-plugins0:3.3.82-1.git.0.af0c922.el7 · Red Hat:openshift:3.3::el7Package registry (OSV)
red hat:openshift-ansible-docs0:3.2.56-1.git.0.b844ab7.el7 · Red Hat:openshift:3.2::el7Package registry (OSV)
red hat:openshift-ansible-filter-plugins0:3.2.56-1.git.0.b844ab7.el7 · Red Hat:openshift:3.2::el7Package registry (OSV)
red hat:openshift-ansible-lookup-plugins0:3.2.56-1.git.0.b844ab7.el7 · Red Hat:openshift:3.2::el7Package registry (OSV)
red hat:openshift-ansible-playbooks0:3.2.56-1.git.0.b844ab7.el7 · Red Hat:openshift:3.2::el7Package registry (OSV)
red hat:openshift-ansible-roles0:3.2.56-1.git.0.b844ab7.el7 · Red Hat:openshift:3.2::el7Package registry (OSV)
suse:ansible2.2.3.0-5.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:monasca-installer20170912_10.45-5.1 · SUSE:OpenStack Cloud 7Package 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.

Patch and commit links

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

Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

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

nvd-primary

References

All records