Security mailing lists by PureSourceCode

CVE-2022-4065

HIGH 7.8CVSS 3.1

TestNG is vulnerable to Path Traversal

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.

Published
19 Nov 2022
Last modified
17 Jun 2026
Assigned by
cna@vuldb.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-rc2q-x9mf-w3vf
Sources
NVDJSONOSV GHSA-rc2q-x9mf-w3vfJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD cna@vuldb.com (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
NVD cna@vuldb.com (Secondary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD testng_project testng
cpe:2.3:a:testng_project:testng:-:*:*:*:*:*:*:*
(no version)
OSV Maven org.testng:testng >= 6.13, < 7.5.1 7.5.1
OSV Maven org.testng:testng >= 7.6.0, < 7.7.0 7.7.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 19 Nov 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.