CVE-2017-7481

State
Published
Severity
5.3 Medium
Published
Jul 19, 2018
Updated
Aug 5, 2024
Reserved
Apr 5, 2017

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.05.3 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:Nredhat

Weaknesses

Affected Products

ProductVersions
ansible[UNKNOWN]
  • ansible 2.3.1.0Affected
  • ansible 2.4.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.