GHSA-f4q6-9qm4-h8j4

    Dashboard / Vulnerabilities / GHSA-f4q6-9qm4-h8j4

    GHSA-f4q6-9qm4-h8j4

    Published: 9 Jun 2022Last Modified: 25 Nov 2024

    Summary: OS Command Injection in cookiecutter

    Details: The package cookiecutter before 2.1.1 is vulnerable to Command Injection via hg argument injection. When calling the cookiecutter function from Python code with the checkout parameter, it is passed to the hg checkout command in a way that additional flags can be set. The additional flags can be used to perform a command injection.

    Affected packages

    Package

    Name: cookiecutter

    Purl: pkg:pypi/cookiecutter

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.1.1

    Affected versions

    0.1

    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-f4q6-9qm4-h8j4 | CVE-DB