CVE-2017-7481: canonical ubuntu_linux Improper Input Validation
Vulnerability summary
CVE-2017-7481 is a critical (CVSS 9.8) Improper Input Validation vulnerability in canonical ubuntu_linux. EPSS estimates a 4.74% chance of exploitation in the next 30 days, higher than 91.8% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 17 · Related 10Timeline
- 19-07-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
10 scores · 6 sources · 4 versions- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST5.3MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · Red hatEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
4.74%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
Decrease -0.04 pp
From 4.78% on 05-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat9 products
- ansible_engine< 2.3.1.0 | ≥ 2.3.2.0, < 2.4.0.0
- gluster_storage3.2
- openshift_container_platform3.3 | 3.4 | 3.5
- openstack10 | 11
- storage_console2.0
Debian2 products
- ansible< 2.3.1.0+dfsg-1
- debian_linuxEOL9.0
[unknown]1 product
- ansibleansible 2.3.1.0 | ansible 2.4.0.0
Canonical1 product
- ubuntu_linuxEOL16.04 | 18.04 | 19.04
PyPI1 product
- ansible≥ 2.3.0.0, < 2.3.1.0 | < 2.1.6.0 | ≥ 2.2.0.0, < 2.2.3.0 | < ed56f51f185a1ffd7ea57130d260098686fcc7c2 | ≥ 2.3.2.0, < 2.4.0.0
Ubuntu1 product
- ansible< 2.0.0.2-2ubuntu1.3
6 vendors · 15 products
References
29 links- bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481X Refsource CONFIRMIssue TrackingPatchVendor AdvisoryWEBREPORT
- github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2X Refsource CONFIRMPatchThird Party AdvisoryWEBFIX
Show all 29 references
- lists.debian.org/debian-lts-announce/2021/01/msg00023.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- github.com/ansible/ansiblePACKAGE