Directory Traversal Affecting testng package, versions <7.10.1-150200.3.10.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.12% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES156-TESTNG-7548633
  • published23 Jul 2024
  • disclosed22 Jul 2024

Introduced: 22 Jul 2024

CVE-2022-4065  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade SLES:15.6 testng to version 7.10.1-150200.3.10.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream testng package and not the testng package as distributed by SLES. See How to fix? for SLES:15.6 relevant fixed versions and status.

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.

CVSS Scores

version 3.1