~ / search / GHSA-f4q6-9qm4-h8j4

GHSA-f4q6-9qm4-h8j4

OS Command Injection in cookiecutter

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-24065

Packages

EcosystemPackageAffectedFixed in
PyPI cookiecutter < 2.1.1 2.1.1

Details

As written in the advisory (Markdown source, shown as plain text).

The package cookiecutter before 2.1.1 is 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.

References

External links from the advisory. They lead to third-party sites.