CVE-2022-24065: Command Injection

Published Jun 3, 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.

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

4 affected componentsFixes available
pip/cookiecutter<2.1.1
2.1.1
Cookiecutter Project Cookiecutter<2.1.1
Fedoraproject Fedora=35
Fedoraproject Fedora=36

Event History

Jun 3, 2022
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Jun 9, 2022
Advisory Published
11:48 PM

Frequently Asked Questions

1

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.

2

How severe is CVE-2022-24065?

CVE-2022-24065 has a severity rating of critical with a score of 9.8 out of 10.

3

Which software versions are affected by CVE-2022-24065?

The versions of cookiecutter before 2.1.1 are affected by CVE-2022-24065.

4

How can I fix CVE-2022-24065?

To fix CVE-2022-24065, update cookiecutter to version 2.1.1 or higher.

5

Where can I find more information about CVE-2022-24065?

More information about CVE-2022-24065 can be found in the references section.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203