Skip to content

CVE-2022-24065 Command Injection

CriticalCVSS 9.8 EPSS 4.2%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

10 packages: 4 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/cookiecutter(Debian 12) = 1.7.3-3; = 2.6.0-1; = 2.6.0-2; All versions No fix listed No fix yet
ubuntu/cookiecutter(Ubuntu 16.04) = 1.0.0-2ubuntu1; = 1.0.0-3ubuntu1; = 1.0.0-3ubuntu2; = 1.3.0-2 +1 more No fix listed No fix yet
ubuntu/cookiecutter(Ubuntu 18.04) = 1.5.0-2; = 1.5.1-1; = 1.6.0-1; = 1.6.0-1ubuntu2 +2 more No fix listed No fix yet
ubuntu/cookiecutter(Ubuntu 22.04) = 1.7.3-1; All versions No fix listed No fix yet
ubuntu/cookiecutter(Ubuntu 24.04) = 1.7.3-3; = 2.6.0-1; All versions No fix listed No fix yet
cookiecutter project cookiecutter < 2.1.1 2.1.1 Fixed
debian/cookiecutter(Debian 13) < 2.6.0-1 2.6.0-1 Fixed
debian/cookiecutter(Debian 14) < 2.6.0-1 2.6.0-1 Fixed
pypi cookiecutter(PyPI) < 2.1.1; = 0.1; = 0.2; = 0.2.1 +28 more 2.1.1 Fixed
fedoraproject fedora = 35; = 36 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi cookiecutter(PyPI) < 2.1.1 2.1.1
pypi cookiecutter(PyPI) = 0.1 No fix listed
pypi cookiecutter(PyPI) = 0.2 No fix listed
pypi cookiecutter(PyPI) = 0.2.1 No fix listed
pypi cookiecutter(PyPI) = 0.3 No fix listed
pypi cookiecutter(PyPI) = 0.4 No fix listed
pypi cookiecutter(PyPI) = 0.5 No fix listed
pypi cookiecutter(PyPI) = 0.6.0 No fix listed
pypi cookiecutter(PyPI) = 0.6.1 No fix listed
pypi cookiecutter(PyPI) = 0.6.2 No fix listed
pypi cookiecutter(PyPI) = 0.6.3 No fix listed
pypi cookiecutter(PyPI) = 0.6.4 No fix listed
pypi cookiecutter(PyPI) = 0.7.0 No fix listed
pypi cookiecutter(PyPI) = 0.7.1 No fix listed
pypi cookiecutter(PyPI) = 0.7.2 No fix listed
pypi cookiecutter(PyPI) = 0.8.0 No fix listed
pypi cookiecutter(PyPI) = 0.9.0 No fix listed
pypi cookiecutter(PyPI) = 0.9.1 No fix listed
pypi cookiecutter(PyPI) = 1.0.0 No fix listed
pypi cookiecutter(PyPI) = 1.1.0 No fix listed
pypi cookiecutter(PyPI) = 1.2.0 No fix listed
pypi cookiecutter(PyPI) = 1.2.1 No fix listed
pypi cookiecutter(PyPI) = 1.3.0 No fix listed
pypi cookiecutter(PyPI) = 1.4.0 No fix listed
pypi cookiecutter(PyPI) = 1.5.0 No fix listed
Show 32 more
ProductAffected versionsFixed in
pypi cookiecutter(PyPI) = 1.5.1 No fix listed
pypi cookiecutter(PyPI) = 1.6.0 No fix listed
pypi cookiecutter(PyPI) = 1.7.0 No fix listed
pypi cookiecutter(PyPI) = 1.7.1 No fix listed
pypi cookiecutter(PyPI) = 1.7.2 No fix listed
pypi cookiecutter(PyPI) = 1.7.3 No fix listed
pypi cookiecutter(PyPI) = 2.1.0 No fix listed
ubuntu/cookiecutter(Ubuntu:22.04) All versions No fix listed
cookiecutter project cookiecutter < 2.1.1 2.1.1
fedoraproject fedora = 35 No fix listed
fedoraproject fedora = 36 No fix listed
ubuntu/cookiecutter(Ubuntu:24.04) All versions No fix listed
debian/cookiecutter(Debian:12) All versions No fix listed
debian/cookiecutter(Debian:14) < 2.6.0-1 2.6.0-1
debian/cookiecutter(Debian:13) < 2.6.0-1 2.6.0-1
debian/cookiecutter(Debian:12) = 1.7.3-3 No fix listed
debian/cookiecutter(Debian:12) = 2.6.0-1 No fix listed
debian/cookiecutter(Debian:12) = 2.6.0-2 No fix listed
ubuntu/cookiecutter(Ubuntu:16.04) All versions No fix listed
ubuntu/cookiecutter(Ubuntu:16.04) = 1.0.0-2ubuntu1 No fix listed
ubuntu/cookiecutter(Ubuntu:16.04) = 1.0.0-3ubuntu1 No fix listed
ubuntu/cookiecutter(Ubuntu:16.04) = 1.0.0-3ubuntu2 No fix listed
ubuntu/cookiecutter(Ubuntu:16.04) = 1.3.0-2 No fix listed
ubuntu/cookiecutter(Ubuntu:18.04) All versions No fix listed
ubuntu/cookiecutter(Ubuntu:18.04) = 1.5.0-2 No fix listed
ubuntu/cookiecutter(Ubuntu:18.04) = 1.5.1-1 No fix listed
ubuntu/cookiecutter(Ubuntu:18.04) = 1.6.0-1 No fix listed
ubuntu/cookiecutter(Ubuntu:18.04) = 1.6.0-1ubuntu2 No fix listed
ubuntu/cookiecutter(Ubuntu:18.04) = 1.6.0-2 No fix listed
ubuntu/cookiecutter(Ubuntu:22.04) = 1.7.3-1 No fix listed
ubuntu/cookiecutter(Ubuntu:24.04) = 1.7.3-3 No fix listed
ubuntu/cookiecutter(Ubuntu:24.04) = 2.6.0-1 No fix listed

References