What’s Vulnerable › Vulnerabilities

CVE-2022-24065: Command Injection

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.

Affected products

How to fix

Upgrade to a fixed version: Cookiecutter Project Cookiecutter 2.1.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-24065 or the next vulnerability affects your stack