Command Injection Vulnerability in cookiecutter before 2.1.1 via hg Argument Injection

Command Injection Vulnerability in cookiecutter before 2.1.1 via hg Argument Injection

CVE-2022-24065 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.