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—
ProductCookiecutter
PublishedJun 8, 2022
First seenJun 8, 2022

How to fix

Affected products

ProductAffected versionsFixed in
cookiecutter_project cookiecutterv < 2.1.12.1.1
fedoraproject fedora35, 36—
cookiecutterPyPIv < 2.1.12.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.