ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2022-24065

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12cookiecutter
All versions, no fix listed
Debian:13cookiecutter
All versions before 2.6.0-1 (fixed in 2.6.0-1)
Debian:14cookiecutter
All versions before 2.6.0-1 (fixed in 2.6.0-1)

References