CVE-2022-24065
The package cookiecutter before 2.1.1 are vulnerable to Command Inject ...
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA.
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| pip::GitHub Security Advisory pip | cookiecutter | 2.1.1 |
| debian 10 | cookiecutter | pas de correctif indiqué |
| debian 11 | cookiecutter | pas de correctif indiqué |
| debian 12 | cookiecutter | pas de correctif indiqué |
| debian 13 | cookiecutter | 2.6.0-1 |
| debian 14 | cookiecutter | 2.6.0-1 |
| debian 9 | cookiecutter | pas de correctif indiqué |
| echo | cookiecutter | 2.6.0-1 |
| rapidfort debian 12 | cookiecutter | 0:2.6.0-1 |
| rapidfort debian 13 | cookiecutter | 0:2.6.0-1 |
Références
- https://github.com/advisories/GHSA-f4q6-9qm4-h8j4
- https://github.com/cookiecutter/cookiecutter
- https://github.com/cookiecutter/cookiecutter/commit/fdffddb31fd2b46344dfa317531ff155e7999f77
- https://github.com/cookiecutter/cookiecutter/releases/tag/2.1.1
- https://github.com/pypa/advisory-database/tree/main/vulns/cookiecutter/PYSEC-2022-204.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5TXC4JYTNGOUFMCXPZ6QKWEZN3URTAK
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5TXC4JYTNGOUFMCXPZ6QKWEZN3URTAK/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQKWT7SGFDCUPPLDIELTN7FVTHWDL5YK