PYSEC-2022-204

    Dashboard / Vulnerabilities / PYSEC-2022-204

    PYSEC-2022-204

    Published: 8 Jun 2022Last Modified: 8 Nov 2023

    Summary:

    Details: The package cookiecutter before 2.1.1 are 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: GIT

    Events:

    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
    PYSEC-2022-204 | CVE-DB