SCA: security update for mercurial (GHSA-v2gw-x5jf-pgwv)

high Tenable Cloud Security Plugin ID 432344

Description

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

- Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify
arbitrary files via ".." (dot dot) sequences in a patch file. (CVE-2008-2942)

See Also

https://github.com/advisories/GHSA-v2gw-x5jf-pgwv

Plugin Details

Severity: High

ID: 432344

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 8/8/2025

Updated: 1/28/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2008-2942

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/1/2022

Vulnerability Publication Date: 6/30/2008

Reference Information

CVE: CVE-2008-2942

BID: 30072

cwe: CWE-22