RCE in Cookiecutter Project
CVE-2022-24065
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.043 (90.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Cookiecutter_project Cookiecutter
- Fedoraproject Fedora — versions 35, 36
- N/a Cookiecutter — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- report@snyk.io (Exploit, Patch, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (x_refsource_FEDORA, vendor-advisory)
- report@snyk.io (x_refsource_FEDORA, vendor-advisory)
Frequently asked questions
- What is CVE-2022-24065?
- CVE-2022-24065 is a high-severity vulnerability in Cookiecutter Project, classified under OS Command Injection. CVSS score: 8.1/10. Published 2022-06-08.
- How severe is CVE-2022-24065?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2022-24065 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.