CVE-2022-24065

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-24065
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24065.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-24065
Aliases
Related
Published
2022-06-08T08:15:07Z
Modified
2025-01-15T02:16:50.566606Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / cookiecutter

Package

Name
cookiecutter
Purl
pkg:deb/debian/cookiecutter?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.7.3-3

2.*

2.6.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / cookiecutter

Package

Name
cookiecutter
Purl
pkg:deb/debian/cookiecutter?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.0-1

Affected versions

1.*

1.7.3-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/cookiecutter/cookiecutter

Affected ranges

Type
GIT
Repo
https://github.com/cookiecutter/cookiecutter
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.2.1
0.3
0.4
0.5
0.6.0
0.6.1
0.6.2
0.6.3
0.6.4
0.7.0
0.7.1
0.7.2
0.8.0
0.9.0

1.*

1.0.0
1.1.0
1.2.1
1.3.0
1.4.0
1.5.0
1.5.1
1.6.0
1.7.0
1.7.1
1.7.2

2.*

2.0.0a0
2.0.1
2.0.2
2.1.0