CVE-2022-4065
Testng Project Testng vulnerability
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.
Affected products
Testng. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Testng Project Testng runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b · Patch
- github.com/cbeust/testng/pull/2806 · Exploit
- vuldb.com/?id.214027 · Third Party Advisory
- github.com/cbeust/testng/releases/tag/7.7.1
- vuldb.com/?ctiid.214027
- nvd.nist.gov/vuln/detail/CVE-2022-4065
- cve.org/CVERecord?id=CVE-2022-4065
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.