UBUNTU-CVE-2022-24065

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-24065

    UBUNTU-CVE-2022-24065

    Published: 8 Jun 2022Last Modified: 24 Oct 2025
    Upstream:

    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:deb/ubuntu/[email protected]?arch=source&distro=xenial

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.0-2ubuntu1
    1.0.0-3ubuntu1
    1.0.0-3ubuntu2

    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
    UBUNTU-CVE-2022-24065 | CVE-DB