Schwachstellen / CVE-2017-7481

kritisch

CVE-2017-7481

ansible: Security issue with lookup return not tainting the jinja2 environment

Veröffentlicht Geändert CWE 20
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat5.3CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA. Niedriger laut Red Hat (mittel), Ubuntu (niedrig).

Beschreibung

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.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
pip::GitHub Security Advisory pipansible2.3.1.0, 2.1.6.0, 2.2.3.0
debian 11ansible2.3.1.0+dfsg-1
debian 12ansible2.3.1.0+dfsg-1
debian 13ansible2.3.1.0+dfsg-1
debian 14ansible2.3.1.0+dfsg-1
debian 9ansible2.2.1.0-2+deb9u2
echoansible2.3.1.0+dfsg-1
ubuntu 16.04ansible2.0.0.2-2ubuntu1.3
ubuntu 16.04-ESMansible2.0.0.2-2ubuntu1.3

Referenzen

Alle 22 Referenzen

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.