CVEvulnerability

CVE-2017-7481

9.8 CRITICAL Published 2018-07-19 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-07-19
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0 ([email protected])
5.3 MEDIUM — CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-20

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.

Affected configurations

• redhat openshift container platform 3.3 • redhat openshift container platform 3.4 • redhat openshift container platform 3.5 • redhat openstack 10 • redhat openstack 11 • redhat storage console 2.0 • redhat virtualization 4.1 • redhat virtualization manager 4.1 • redhat gluster storage 3.2 • redhat ansible engine (< 2.3.1.0) • redhat ansible engine (>= 2.3.2.0 < 2.4.0.0) • canonical ubuntu linux 16.04 • canonical ubuntu linux 18.04 • canonical ubuntu linux 19.04 • debian debian linux 9.0

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References