VDB
PYSEC-2018-41
PYSEC-2018-41
PUBLISHED
CVSS 9.300000190734863 CRITICAL
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.
Risk Scores
CVSS v4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | ansible | 0, 0, 2.3.2.0 |
Timeline
- Jul 19, 2018 CVE Published
- Nov 8, 2023 CVE Updated
- May 1, 2026 Distribution Patch
- May 1, 2026 Distribution Patch
- May 1, 2026 Distribution Patch
- May 1, 2026 Distribution Patch
- May 1, 2026 Distribution Patch
- May 1, 2026 Distribution Patch
- May 1, 2026 Security Advisory
- May 1, 2026 Security Advisory
- May 1, 2026 Security Advisory
- May 1, 2026 Security Advisory
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481 report
- http://www.securityfocus.com/bid/98492 url
- https://github.com/advisories/GHSA-w578-j992-554x advisory
- https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2 fix
- https://access.redhat.com/errata/RHSA-2017:2524 advisory
- https://access.redhat.com/errata/RHSA-2017:1599 advisory
- https://access.redhat.com/errata/RHSA-2017:1499 advisory
- https://access.redhat.com/errata/RHSA-2017:1476 advisory
- https://access.redhat.com/errata/RHSA-2017:1334 advisory
- https://access.redhat.com/errata/RHSA-2017:1244 advisory
- https://usn.ubuntu.com/4072-1/ advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html advisory