CVE-2017-7481
highpriority · track · 41EPSS 0.048 · 92 %ileDEEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 5.3–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (50)
Products and version ranges known to be affected.
- Red Hat OpenShift Container Platform 3.2all versionscert_bundDEcpe:/a:redhat:openshift_container_platform:3.2
- Red Hat OpenShift Container Platform 3.3all versionscert_bundDEcpe:/a:redhat:openshift_container_platform:3.3
- Red Hat OpenShift Container Platform 3.4all versionscert_bundDEcpe:/a:redhat:openshift_container_platform:3.4
- Red Hat OpenShift Container Platform 3.5all versionscert_bundDEcpe:/a:redhat:openshift_container_platform:3.5
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1808Red Hat OpenShift Container Platform: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode mit den Rechten des DienstesDeutsch2017-05-17csaf · cert_bundDE
Ein entfernter, authentisierter oder anonymer Angreifer kann mehrere Schwachstellen in Red Hat OpenShift Container Platform ausnutzen, um beliebigen Programmcode mit den Rechten des Dienstes auszuführen.
- GHSA-w578-j992-554xAnsible fails to properly mark lookup-plugin results as unsafe2018-09-06ghsa · osvUS
Ansible before versions 2.1.6.0, 2.2.3.0, 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.
- PYSEC-2018-412018-07-19vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (36)
External citations — patches, advisories, analysis.
- https://access.redhat.com/errata/RHSA-2017:1244cnnvd
- https://access.redhat.com/errata/RHSA-2017:1334cnnvd
- https://access.redhat.com/errata/RHSA-2017:1476cnnvd
- https://access.redhat.com/errata/RHSA-2017:1499cnnvd
- https://access.redhat.com/errata/RHSA-2017:1599cnnvd
- https://access.redhat.com/errata/RHSA-2017:2524cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481cnnvd
- https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan