Name | CVE-2022-24065 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1013279 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cookiecutter (PTS) | bookworm | 1.7.3-3 | vulnerable |
| sid, trixie | 2.6.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
cookiecutter | source | (unstable) | 2.6.0-1 | | | 1013279 |
Notes
[bookworm] - cookiecutter <no-dsa> (Minor issue)
[bullseye] - cookiecutter <no-dsa> (Minor issue)
[buster] - cookiecutter <no-dsa> (Minor issue)
[stretch] - cookiecutter <no-dsa> (Minor issue)
https://security.snyk.io/vuln/SNYK-PYTHON-COOKIECUTTER-2414281
https://github.com/cookiecutter/cookiecutter/releases/tag/2.1.1
https://github.com/cookiecutter/cookiecutter/commit/fdffddb31fd2b46344dfa317531ff155e7999f77