CVE-2022-24065
Summary
| CVE | CVE-2022-24065 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-06-08 08:15:00 UTC |
| Updated | 2023-11-07 03:44:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-78
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Cookiecutter Project | Cookiecutter | All | All | All | All |
| Operating System | Fedoraproject | Fedora | 35 | All | All | All |
| Operating System | Fedoraproject | Fedora | 36 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] Fedora 35 Update: python-cookiecutter-2.1.1-1.fc35 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| [SECURITY] Fedora 36 Update: python-cookiecutter-2.1.1-1.fc36 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| Command Injection in cookiecutter | CVE-2022-24065 | Snyk | MISC | snyk.io | |
| Release 2.1.1 · cookiecutter/cookiecutter · GitHub | MISC | github.com | |
| Merge pull request #1689 from cookiecutter/sanitize-mercurial-checkout · cookiecutter/cookiecutter@fdffddb · GitHub | MISC | github.com | |
| [SECURITY] Fedora 35 Update: python-cookiecutter-2.1.1-1.fc35 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| [SECURITY] Fedora 36 Update: python-cookiecutter-2.1.1-1.fc36 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera of Snyk Research Team