The package cookiecutter prior to 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.
Vulnerable Product | Search on Vulmon | Subscribe to Product |
---|---|---|
cookiecutter project cookiecutter |
||
fedoraproject fedora 35 |
||
fedoraproject fedora 36 |