First published: Fri Jun 03 2022(Updated: )
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.
Credit: report@snyk.io report@snyk.io report@snyk.io
Affected Software | Affected Version | How to fix |
---|---|---|
pip/cookiecutter | <2.1.1 | 2.1.1 |
Cookiecutter Project Cookiecutter | <2.1.1 | |
Fedoraproject Fedora | =35 | |
Fedoraproject Fedora | =36 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-24065 is a vulnerability in the package cookiecutter before version 2.1.1 that allows command injection via hg argument injection.
CVE-2022-24065 has a severity rating of critical with a score of 9.8 out of 10.
The versions of cookiecutter before 2.1.1 are affected by CVE-2022-24065.
To fix CVE-2022-24065, update cookiecutter to version 2.1.1 or higher.
More information about CVE-2022-24065 can be found in the references section.