SCA: security update for org.testng:testng (GHSA-rc2q-x9mf-w3vf)

high Tenable Cloud Security Plugin ID 418646

Description

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

- A vulnerability was found in cbeust testng 7.5.0/7.6.0/7.6.1/7.7.0. It has been declared as critical.
Affected by this vulnerability is the function testngXmlExistsInJar of the file testng-
core/src/main/java/org/testng/JarFileUtils.java of the component XML File Parser. The manipulation leads
to path traversal. The attack can be launched remotely. Upgrading to version 7.5.1 and 7.7.1 is able to
address this issue. The patch is named 9150736cd2c123a6a3b60e6193630859f9f0422b. It is recommended to
upgrade the affected component. The associated identifier of this vulnerability is VDB-214027.
(CVE-2022-4065)

See Also

https://github.com/advisories/GHSA-rc2q-x9mf-w3vf

Plugin Details

Severity: High

ID: 418646

Version: Revision 1.13

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: High

Base Score: 7.2

Temporal Score: 5.6

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

CVSS Score Source: CVE-2022-4065

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/19/2022

Vulnerability Publication Date: 11/19/2022

Reference Information

CVE: CVE-2022-4065

cwe: CWE-22