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

Mon, 14 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.08747}

epss

{'score': 0.08867}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2024-09-17T00:46:55.130Z

Reserved: 2022-02-24T00:00:00

Link: CVE-2022-24065

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-06-08T08:15:07.237

Modified: 2024-11-21T06:49:45.573

Link: CVE-2022-24065

cve-icon Redhat

No data.