Vulnérabilités / CVE-2017-7481

critique

CVE-2017-7481

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

Publiée Modifiée CWE 20
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA. Plus basse selon Red Hat (moyenne), Ubuntu (faible).

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
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

Références

Les 22 références

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.