SB2023033036 - Path traversal in TestNG testing framework 



SB2023033036 - Path traversal in TestNG testing framework

Published: March 30, 2023

Security Bulletin ID SB2023033036
Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Path traversal (CVE-ID: CVE-2022-4065)

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within the testngXmlExistsInJar() function in testng-core/src/main/java/org/testng/JarFileUtils.java of the XML File Parser component. A remote attacker can pass specially crafted XML file to the application and overwrite arbitrary files on the system.


Remediation

Install update from vendor's website.