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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com vendor-advisory
- github.com product
- github.com issue-tracking third-party-advisory
- github.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- snyk.io exploit patch third-party-advisory vendor-advisory
- Debian Security Tracker CVE-2022-24065 vendor-advisory
- FEDORA-2022-ff1c98b2fe vendor-advisory
- FEDORA-2022-4a3d83a1d2 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- security.snyk.io issue-tracking