Skip to main content
← All vulnerabilities
CVE-2022-4065GHSA-RC2Q-X9MF-W3VF

cbeust testng XML File Parser JarFileUtils.java testngXmlExistsInJar path traversal

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.1, 7.7.0
1 proof of concept on GitHub

Summary

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

  1. CVE published
  2. Record last updated

Affected versions

  • cbeust testng

    7.5.0, 7.6.0, 7.6.1, 7.7.0

  • org.testng:testngMaven

    From 6.13 · fixed in 7.5.1

  • org.testng:testngMaven

    From 7.6.0 · fixed in 7.7.0

References 6

vuldb.com

GitHub · cbeust/testng

GitHub · shoucheng3/testng-team__testng_CVE-2022-4065_7-5