cookiecutter: CVE-2022-24065

Related Vulnerabilities: CVE-2022-24065  

Debian Bug report logs - #1013279
cookiecutter: CVE-2022-24065

Reported by: Moritz Mühlenhoff <jmm@inutil.org>

Date: Mon, 20 Jun 2022 15:03:01 UTC

Severity: important

Tags: security

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, team@security.debian.org, Vincent Bernat <bernat@debian.org>:
Bug#1013279; Package src:cookiecutter. (Mon, 20 Jun 2022 15:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Moritz Mühlenhoff <jmm@inutil.org>:
New Bug report received and forwarded. Copy sent to team@security.debian.org, Vincent Bernat <bernat@debian.org>. (Mon, 20 Jun 2022 15:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Moritz Mühlenhoff <jmm@inutil.org>
To: submit@bugs.debian.org
Subject: cookiecutter: CVE-2022-24065
Date: Mon, 20 Jun 2022 16:59:39 +0200
Source: cookiecutter
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerability was published for cookiecutter.

CVE-2022-24065[0]:
| 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.

https://security.snyk.io/vuln/SNYK-PYTHON-COOKIECUTTER-2414281

Fixed in 2.1.1 and this isolated patch:
https://github.com/cookiecutter/cookiecutter/releases/tag/2.1.1
https://github.com/cookiecutter/cookiecutter/commit/fdffddb31fd2b46344dfa317531ff155e7999f77


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-24065
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24065

Please adjust the affected versions in the BTS as needed.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jun 21 13:14:09 2022; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.