SCA: security update for cookiecutter (GHSA-f4q6-9qm4-h8j4)

critical Tenable Cloud Security Plugin ID 414259

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-24065)

See Also

https://github.com/advisories/GHSA-f4q6-9qm4-h8j4

Plugin Details

Severity: Critical

ID: 414259

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-24065

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.2

Threat Score: 8.2

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/9/2022

Vulnerability Publication Date: 6/3/2022

Reference Information

CVE: CVE-2022-24065

cwe: CWE-78