CVE-2022-24065
High
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.
SeverityHigh
CVSS8.1
Exploit probability—
Product
Cookiecutter
PublishedJun 8, 2022
First seenJun 8, 2022
How to fix
Update
- cookiecutter_project cookiecutter2.1.1 or later
- cookiecutter2.1.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cookiecutter_project cookiecutter | v < 2.1.1 | 2.1.1 |
| fedoraproject fedora | 35, 36 | — |
| cookiecutterPyPI | v < 2.1.1 | 2.1.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.