CVE-2022-4065 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b | CVE | PatchThird Party Advisory |
| https://github.com/cbeust/testng/pull/2806 | CVE | ExploitPatchThird Party Advisory |
| https://github.com/cbeust/testng/releases/tag/7.7.1 | CVE | |
| https://vuldb.com/?ctiid.214027 | CVE | |
| https://vuldb.com/?id.214027 | CVE | Third Party Advisory |
| https://github.com/cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b | [email protected] | PatchThird Party Advisory |
| https://github.com/cbeust/testng/pull/2806 | [email protected] | ExploitPatchThird Party Advisory |
| https://github.com/cbeust/testng/releases/tag/7.7.1 | [email protected] | |
| https://vuldb.com/?ctiid.214027 | [email protected] | |
| https://vuldb.com/?id.214027 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| testng project testng | All versions |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 17, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 11, 2024 | CVE Modified | [email protected] |
| Mar 21, 2024 | CVE Modified | [email protected] |
| Feb 29, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Oct 20, 2023 | CVE Modified | [email protected] |
| Apr 29, 2023 | CVE Modified | [email protected] |
| Nov 26, 2022 | Initial Analysis | [email protected] |