CVE-2017-7481

Aliases:GHSA-w578-j992-554xPYSEC-2018-41
Modified
Published: 19 Jul 2018, 13:00
Last modified:05 Aug 2024, 16:04

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
4.31% LOW
4% probability +2.29%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

19 Jul 2018, 13:00
Published
Vulnerability first disclosed
05 Aug 2024, 16:04
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v4.0CRITICALScore: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • v3.0MEDIUMScore: 5.3CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
  • v2.0HIGHScore: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 4.31% Percentile: 89%

Techniques & Countermeasures

  • CWE-20Improper Input Validation

    The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Affected Systems

  • canonicalubuntu_linux

    16.04 | 18.04 | 19.04

  • debiandebian_linux

    9.0

  • PyPIansible

    ≥ 2.3.0.0, < 2.3.1.0 | < 2.1.6.0 | ≥ 2.2.0.0, < 2.2.3.0 | < ed56f51f185a1ffd7ea57130d260098686fcc7c2 | ≥ 2.3.2.0, < 2.4.0.0

  • redhatansible_engine

    < 2.3.1.0 | ≥ 2.3.2.0, < 2.4.0.0

  • redhatgluster_storage

    3.2

  • redhatopenshift_container_platform

    3.3 | 3.4 | 3.5

  • redhatopenstack

    10 | 11

  • redhatstorage_console

    2.0

  • redhatvirtualization

    4.1

  • redhatvirtualization_manager

    4.1

  • [unknown]ansible

    ansible 2.3.1.0 | ansible 2.4.0.0

References (20)