CVE-2022-24065

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:cookiecutter_project:cookiecutter:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*

History

21 Nov 2024, 06:49

Type Values Removed Values Added
References () https://github.com/cookiecutter/cookiecutter/commit/fdffddb31fd2b46344dfa317531ff155e7999f77 - Patch, Third Party Advisory () https://github.com/cookiecutter/cookiecutter/commit/fdffddb31fd2b46344dfa317531ff155e7999f77 - Patch, Third Party Advisory
References () https://github.com/cookiecutter/cookiecutter/releases/tag/2.1.1 - Third Party Advisory () https://github.com/cookiecutter/cookiecutter/releases/tag/2.1.1 - Third Party Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G5TXC4JYTNGOUFMCXPZ6QKWEZN3URTAK/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G5TXC4JYTNGOUFMCXPZ6QKWEZN3URTAK/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQKWT7SGFDCUPPLDIELTN7FVTHWDL5YK/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQKWT7SGFDCUPPLDIELTN7FVTHWDL5YK/ -
References () https://snyk.io/vuln/SNYK-PYTHON-COOKIECUTTER-2414281 - Exploit, Patch, Third Party Advisory () https://snyk.io/vuln/SNYK-PYTHON-COOKIECUTTER-2414281 - Exploit, Patch, Third Party Advisory
CVSS v2 : 7.5
v3 : 9.8
v2 : 7.5
v3 : 8.1

08 Aug 2023, 14:21

Type Values Removed Values Added
CPE cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
CWE CWE-88 CWE-78
References (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQKWT7SGFDCUPPLDIELTN7FVTHWDL5YK/ - (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQKWT7SGFDCUPPLDIELTN7FVTHWDL5YK/ - Mailing List, Third Party Advisory
References (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5TXC4JYTNGOUFMCXPZ6QKWEZN3URTAK/ - (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5TXC4JYTNGOUFMCXPZ6QKWEZN3URTAK/ - Mailing List, Third Party Advisory

19 Jun 2022, 03:15

Type Values Removed Values Added
References
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5TXC4JYTNGOUFMCXPZ6QKWEZN3URTAK/ -
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQKWT7SGFDCUPPLDIELTN7FVTHWDL5YK/ -

16 Jun 2022, 17:11

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
CWE CWE-88
References (MISC) https://snyk.io/vuln/SNYK-PYTHON-COOKIECUTTER-2414281 - (MISC) https://snyk.io/vuln/SNYK-PYTHON-COOKIECUTTER-2414281 - Exploit, Patch, Third Party Advisory
References (MISC) https://github.com/cookiecutter/cookiecutter/releases/tag/2.1.1 - (MISC) https://github.com/cookiecutter/cookiecutter/releases/tag/2.1.1 - Third Party Advisory
References (MISC) https://github.com/cookiecutter/cookiecutter/commit/fdffddb31fd2b46344dfa317531ff155e7999f77 - (MISC) https://github.com/cookiecutter/cookiecutter/commit/fdffddb31fd2b46344dfa317531ff155e7999f77 - Patch, Third Party Advisory
CPE cpe:2.3:a:cookiecutter_project:cookiecutter:*:*:*:*:*:*:*:*

08 Jun 2022, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-06-08 08:15

Updated : 2024-11-21 06:49


NVD link : CVE-2022-24065

Mitre link : CVE-2022-24065

CVE.ORG link : CVE-2022-24065


JSON object : View

Products Affected

fedoraproject

  • fedora

cookiecutter_project

  • cookiecutter
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')