GHSA-4cvm-5776-jx9f

    Dashboard / Vulnerabilities / GHSA-4cvm-5776-jx9f

    GHSA-4cvm-5776-jx9f

    Published: 14 May 2022Last Modified: 3 Sept 2024

    Summary: Ansible Arbitrary Code Execution

    Details: User module in ansible before 1.6.6 is vulnerable to command execution. Ansible can get the result of remote command in variable, which may come from untrusted source of input. If the content of variable isn't properly filtered and when attempting to use the variable, it will trigger a function that passes it through jinja 2 template engine that can result into arbitrary command execution. Under certain circumstances, unprivileged user on system that is being managed via ansible can execute code on the managing host under UID of running ansible process.

    Affected packages

    Package

    Name: ansible

    Purl: pkg:pypi/ansible

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.6.6

    Affected versions

    1.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