OS Command Injection Affecting cookiecutter package, versions <2.6.0-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
4.2% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-COOKIECUTTER-2932913
  • published21 Jun 2022
  • disclosed8 Jun 2022

Introduced: 8 Jun 2022

CVE-2022-24065  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Debian:unstable cookiecutter to version 2.6.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cookiecutter package and not the cookiecutter package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1