GHSA-w578-j992-554x

    Dashboard / Vulnerabilities / GHSA-w578-j992-554x

    GHSA-w578-j992-554x

    Published: 6 Sept 2018Last Modified: 29 May 2025

    Summary: Ansible fails to properly mark lookup-plugin results as unsafe

    Details: Ansible before versions 2.1.6.0, 2.2.3.0, 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 packages

    Package

    Name: ansible

    Purl: pkg:pypi/ansible

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.3.0.0
    Fixed -2.3.1.0

    Affected versions

    2.3.0.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High