CVE-2014-4966
Ansible before 1.6.7 does not prevent inventory data with "{{" and "lo ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).
Description
Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | ansible | 1.6.7 |
| debian 11 | ansible | 1.6.8+dfsg-1 |
| debian 12 | ansible | 1.6.8+dfsg-1 |
| debian 13 | ansible | 1.6.8+dfsg-1 |
| debian 14 | ansible | 1.6.8+dfsg-1 |
| echo | ansible | 1.6.8+dfsg-1 |
| ubuntu 14.04-ESM | ansible | 1.5.4+dfsg-1ubuntu0.1~esm2 |
References
- http://www.ocert.org/advisories/ocert-2014-004.html
- http://www.openwall.com/lists/oss-security/2014/07/22
- https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527
- https://github.com/ansible/ansible/commit/84759faa0950146a6bae8452580b4a4cede6d871
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-204.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2014-4966
- https://www.cve.org/CVERecord?id=CVE-2014-4966