TestNG XML File Parser Path Traversal CVE-2022-4065 (7.5.0-7.7.0)
CVE-2022-4065 Published on November 19, 2022
cbeust testng XML File Parser JarFileUtils.java testngXmlExistsInJar path traversal
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.
Timeline
Advisory disclosed
CVE reserved
VulDB entry created
VulDB entry last update 161 days later.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2022-4065 has been classified to as a Directory traversal vulnerability or weakness.
Products Associated with CVE-2022-4065
Want to know whenever a new CVE is published for Testngproject Testng? stack.watch will email you.
Affected Versions
cbeust testng:- Version 7.5.0 is affected.
- Version 7.6.0 is affected.
- Version 7.6.1 is affected.
- Version 7.7.0 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.