CVE-2022-24065: Command Injection
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.
Other sources
The package cookiecutter before 2.1.1 is 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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2022-24065?
CVE-2022-24065 is a vulnerability in the package cookiecutter before version 2.1.1 that allows command injection via hg argument injection.
How severe is CVE-2022-24065?
CVE-2022-24065 has a severity rating of critical with a score of 9.8 out of 10.
Which software versions are affected by CVE-2022-24065?
The versions of cookiecutter before 2.1.1 are affected by CVE-2022-24065.
How can I fix CVE-2022-24065?
To fix CVE-2022-24065, update cookiecutter to version 2.1.1 or higher.
Where can I find more information about CVE-2022-24065?
More information about CVE-2022-24065 can be found in the references section.