Path Traversal in Cbeust Testng

CVE-2022-4065

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.009 (56.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-4065?
CVE-2022-4065 is a medium-severity vulnerability in Cbeust Testng, classified under Path Traversal. CVSS score: 5.5/10. Published 2022-11-19.
How severe is CVE-2022-4065?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2022-4065 known to be exploited?
14 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.