CVE-2022-24065
OS Command Injection in cookiecutter
8.1
HIGH
CVSS 3.1
EPSS 2.2%
Description
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.
How to fix CVE-2022-24065
To remediate CVE-2022-24065, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 2.1.1 or later
- —upgrade to fdffddb31fd2b46344dfa317531ff155e7999f77 or later
Is CVE-2022-24065 being exploited?
Low — EPSS is 2.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0
- from 0, < 2.1.1
- from 0, < fdffddb31fd2b46344dfa317531ff155e7999f77 | from 0, < 2.1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |