Lucene search

K
osvGoogleOSV:GHSA-F4Q6-9QM4-H8J4
HistoryJun 09, 2022 - 11:48 p.m.

OS Command Injection in cookiecutter

2022-06-0923:48:49
Google
osv.dev
34
cookiecutter
python
command injection
security vulnerability
hg checkout

EPSS

0.01

Percentile

84.1%

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.