CVE-2017-7481
CRITICAL9.8EPSS 4.3%ansible - security update
發布日:2018/9/6修改日:2026/4/28
描述
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.
受影響套件(4)
- Debian/ansiblefrom 0, < 2.3.1.0+dfsg-1
- Debian/ansiblefrom 0, < 2.2.1.0-2+deb9u2
- PyPI/ansible>= 2.3.0.0, < 2.3.1.0
- PyPI/ansiblefrom 0, < ed56f51f185a1ffd7ea57130d260098686fcc7c2 | from 0, < 2.3.1.0, >= 2.3.2.0, < 2.4.0.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(21)
- ADVISORYhttps://github.com/advisories/GHSA-w578-j992-554x
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-7481
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2017-7481
- PATCHhttps://github.com/ansible/ansible
- WEBhttps://access.redhat.com/errata/RHSA-2017:1244
- WEBhttps://access.redhat.com/errata/RHSA-2017:1334
- WEBhttps://access.redhat.com/errata/RHSA-2017:1476
- WEBhttps://access.redhat.com/errata/RHSA-2017:1499
- WEBhttps://access.redhat.com/errata/RHSA-2017:1599
- WEBhttps://access.redhat.com/errata/RHSA-2017:2524
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481
- WEBhttps://github.com/ansible/ansible/commit/a1886911fcf4b691130cfc70dfc5daa5e07c46a3
- WEBhttps://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2
- WEBhttps://github.com/ansible/ansible/commit/f0e348f5eeb70c1fb3127d90891da43b5c0a9d29
- WEBhttps://github.com/ansible/ansible/commit/fd30f5328986f9e1da434474481f32bf918a600c
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-41.yaml
- WEBhttps://lists.debian.org/debian-lts-announce/2021/01/msg00023.html
- WEBhttps://usn.ubuntu.com/4072-1
- WEBhttps://usn.ubuntu.com/4072-1/
- WEBhttps://web.archive.org/web/20170801122609/http://www.securityfocus.com/bid/98492
- WEBhttp://www.securityfocus.com/bid/98492