Skip to main content
← All vulnerabilities
CVE-2022-24065GHSA-F4Q6-9QM4-H8J4PYSEC-2022-204SNYK-PYTHON-COOKIECUTTER-2414281

Command Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a cookiecutter

    fixed in 2.1.1

  • cookiecutterPyPI

    fixed in 2.1.1

References 5

snyk.io

GitHub · cookiecutter/cookiecutter

lists.fedoraproject.org