cookiecutter
Affected
- introduced
0, fixed2.1.1(ecosystem)
Fixed versions
2.1.1
Fix
- Fixed version
2.1.1pip install --upgrade cookiecutter==2.1.1
Advisory
Also known as: CVE-2022-24065, PYSEC-2022-204, SNYK-PYTHON-COOKIECUTTER-2414281
OS Command Injection in cookiecutter
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 2.1.1 (ecosystem)2.1.1
2.1.1pip install --upgrade cookiecutter==2.1.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0