CVE-2022-4065

NameCVE-2022-4065
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
testng (PTS)sid, trixie, buster, bookworm, bullseye6.9.12-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
testngsource(unstable)(not affected)

Notes

- testng <not-affected> (Vulnerable code introduced later)
https://github.com/cbeust/testng/pull/2806
https://github.com/cbeust/testng/commit/47afa2c8a29e2cf925238af1ad7c76fba282793f

Search for package or bug name: Reporting problems