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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
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 |
GHSA-f4q6-9qm4-h8j4 | OS Command Injection in cookiecutter |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 14 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Status: PUBLISHED
Assigner: snyk
Published:
Updated: 2024-09-17T00:46:55.130Z
Reserved: 2022-02-24T00:00:00
Link: CVE-2022-24065
No data.
Status : Modified
Published: 2022-06-08T08:15:07.237
Modified: 2024-11-21T06:49:45.573
Link: CVE-2022-24065
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA