Vulnerability CVE-2022-24065


Published: 2022-06-08

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.

Type:

CWE-88

(Argument Injection or Modification)

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Cookiecutter project -> Cookiecutter 

 References:
https://snyk.io/vuln/SNYK-PYTHON-COOKIECUTTER-2414281
https://github.com/cookiecutter/cookiecutter/commit/fdffddb31fd2b46344dfa317531ff155e7999f77
https://github.com/cookiecutter/cookiecutter/releases/tag/2.1.1

Copyright 2024, cxsecurity.com

 

Back to Top