CVE-2022-24065

HIGH

cookiecutter <2.1.1 - Command Injection

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 8.1
EPSS 0.0222
EPSS Percentile 84.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (4)
cookiecutter_project/cookiecutter < 2.1.1
fedoraproject/fedora 35
fedoraproject/fedora 36
pypi/cookiecutter 0 - 2.1.1PyPI
Published Jun 08, 2022
Tracked Since Feb 18, 2026