CVE-2022-24065 — OS Command Injection in Project Cookiecutter
Severity
9.8CRITICALNVD
EPSS
1.8%
top 17.25%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 8
Latest updateJun 9
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9
Affected Packages5 packages
Also affects: Fedora 35, 36
Patches
🔴Vulnerability Details
3📋Vendor Advisories
1Debian▶
CVE-2022-24065: cookiecutter - The package cookiecutter before 2.1.1 are vulnerable to Command Injection via hg...↗2022