SCA: security update for poetry (GHSA-j4j9-7hg9-97g6)

high Tenable Cloud Security Plugin ID 416125

Description

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

- Poetry is a dependency manager for Python. To handle dependencies that come from a Git repository, Poetry
executes various commands, e.g. `git config`. These commands are being executed using the executable’s
name and not its absolute path. This can lead to the execution of untrusted code due to the way Windows
resolves executable names to paths. Unlike Linux-based operating systems, Windows searches for the
executable in the current directory first and looks in the paths that are defined in the `PATH`
environment variable afterward. This vulnerability can lead to Arbitrary Code Execution, which would lead
to the takeover of the system. If a developer is exploited, the attacker could steal credentials or
persist their access. If the exploit happens on a server, the attackers could use their access to attack
other internal systems. Since this vulnerability requires a fair amount of user interaction, it is not as
dangerous as a remotely exploitable one. However, it still puts developers at risk when dealing with
untrusted files in a way they think is safe. The victim could also not protect themself by vetting any Git
or Poetry config files that might be present in the directory, because the behavior is undocumented.
Versions 1.1.9 and 1.2.0b1 contain patches for this issue. (CVE-2022-36070)

See Also

https://github.com/advisories/GHSA-j4j9-7hg9-97g6

Plugin Details

Severity: High

ID: 416125

Version: Revision 1.6

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

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2022-36070

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.4

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/11/2022

Vulnerability Publication Date: 9/7/2022

Reference Information

CVE: CVE-2022-36070

cwe: CWE-426