CVE-2022-4065
Description
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.
How to fix
- org.testng:testng7.5.1, 7.7.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| testng_project testng | No range specified | — |
| org.testng:testngMaven | 6.13 ≤ v < 7.5.1, 7.6.0 ≤ v < 7.7.0 | 7.5.1, 7.7.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.