CVE-2022-24065

Command Injection

Published Jun 3, 2022 CVSS 3.1 · 8.1 High EPSS 4.2% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0047 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.
Github GHSA Github GHSA GHSA-f4q6-9qm4-h8j4 OS Command Injection in cookiecutter
History
Type Values Removed Values Added
Metrics epss

{'score': 0.08747}

epss

{'score': 0.08867}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 17, 2024, 12:46 AM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Jun 8, 2022, 8:15 AM
Modified
Jun 17, 2026, 4:31 AM