CVE-2022-24065
published high CVSS 3.1 · 8.1Command Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | cookiecutterunspecified to < 2.1.1 | Affected | Not stated | snyk |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | cookiecutter | unspecified to < 2.1.1 (affected · custom) | snyk · cna |
Weaknesses
1- Command Injection
References
5- https://github.com/cookiecutter/cookiecutter/commit/fdffddb31fd2b46344dfa317531ff155e7999f77
- https://github.com/cookiecutter/cookiecutter/releases/tag/2.1.1
- FEDORA-2022-4a3d83a1d2 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G5TXC4JYTNGOUFMCXPZ6QKWEZN3URTAK/
- FEDORA-2022-ff1c98b2fe https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQKWT7SGFDCUPPLDIELTN7FVTHWDL5YK/
- https://snyk.io/vuln/SNYK-PYTHON-COOKIECUTTER-2414281
Provider assertions
2snyk · cna
Command Injection
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 34643e27a46abe9efecc58568f0f17b28996657fbcaf590a9447d32a4f7a29d8
- Ingested
- 23 Sep 2026, 07:58:49 UTC
- Source record
- Official CVE record