GHSA-p62g-jhg6-v3rq

    Dashboard / Vulnerabilities / GHSA-p62g-jhg6-v3rq

    GHSA-p62g-jhg6-v3rq

    Published: 7 Apr 2021Last Modified: 27 Nov 2024

    Summary: Code Injection, Race Condition, and Execution with Unnecessary Privileges in Ansible

    Details: A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.11, and 2.9.7 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.

    Affected packages

    Package

    Name: ansible

    Purl: pkg:pypi/ansible

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.7.0a1
    Fixed -2.7.17

    Affected versions

    2.7.0
    2.7.0a1
    2.7.0b1
    2.7.0rc1
    2.7.0rc2
    2.7.0rc3
    2.7.0rc4
    2.7.1
    2.7.10
    2.7.11
    2.7.12
    2.7.13
    2.7.14
    2.7.15
    2.7.16
    2.7.2
    2.7.3
    2.7.4
    2.7.5
    2.7.6
    2.7.7
    2.7.8
    2.7.9

    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
    GHSA-p62g-jhg6-v3rq | CVE-DB