CVEvulnerability
CVE-2022-4065
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-11-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
- Weaknesses
- CWE-22
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.
Affected configurations
• testng project testng
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b Patch, Third Party Advisory
- https://github.com/cbeust/testng/pull/2806 Exploit, Patch, Third Party Advisory
- https://github.com/cbeust/testng/releases/tag/7.7.1 github.com
- https://vuldb.com/?ctiid.214027 vuldb.com
- https://vuldb.com/?id.214027 Third Party Advisory
- https://github.com/cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b Patch, Third Party Advisory
- https://github.com/cbeust/testng/pull/2806 Exploit, Patch, Third Party Advisory
- https://github.com/cbeust/testng/releases/tag/7.7.1 github.com
- https://vuldb.com/?ctiid.214027 vuldb.com
- https://vuldb.com/?id.214027 Third Party Advisory