cbeust testng XML File Parser JarFileUtils.java testngXmlExistsInJar path traversal
Published Nov 19, 2022
7.8
HIGHCVSS 3.1
EPSS 0.94%
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 products
-
- Version 7.5.0StatusaffectedConstraints-
- Version 7.6.0StatusaffectedConstraints-
- Version 7.6.1StatusaffectedConstraints-
- Version 7.7.0StatusaffectedConstraints-
- Version
- n/a
No data.
Red Hat Enterprise Linux 7
testng
Out of support scope
Red Hat Software Collections
rh-maven36-testng
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | testng | Out of support scope | n/a |
| Red Hat Software Collections | rh-maven36-testng | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (15)
- https://access.redhat.com/security/cve/CVE-2022-4065 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2185304 Issue Tracking
- https://github.com/advisories/GHSA-rc2q-x9mf-w3vf Advisory
- https://github.com/cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b patchThird Party Advisory
- https://github.com/cbeust/testng/pull/1596
- https://github.com/cbeust/testng/pull/2806 issue-trackingExploitPatchThird Party Advisory
- https://github.com/cbeust/testng/releases/tag/7.7.0
- https://github.com/cbeust/testng/releases/tag/7.7.1 patch
- https://github.com/testng-team/testng/pull/2899
- https://github.com/testng-team/testng/releases/tag/7.5.1
- https://groups.google.com/g/testng-users/c/V6jie-9uUIA
- https://nvd.nist.gov/vuln/detail/CVE-2022-4065
- https://vuldb.com/?ctiid.214027 signaturepermissions-required
- https://vuldb.com/?id.214027 vdb-entrytechnical-descriptionThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2022-4065
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-4065 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2185304 | Issue Tracking | |
| https://github.com/advisories/GHSA-rc2q-x9mf-w3vf | Advisory | |
| https://github.com/cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b | patchThird Party Advisory | |
| https://github.com/cbeust/testng/pull/1596 | ||
| https://github.com/cbeust/testng/pull/2806 | issue-trackingExploitPatchThird Party Advisory | |
| https://github.com/cbeust/testng/releases/tag/7.7.0 | ||
| https://github.com/cbeust/testng/releases/tag/7.7.1 | patch | |
| https://github.com/testng-team/testng/pull/2899 | ||
| https://github.com/testng-team/testng/releases/tag/7.5.1 | ||
| https://groups.google.com/g/testng-users/c/V6jie-9uUIA | ||
| https://nvd.nist.gov/vuln/detail/CVE-2022-4065 | ||
| https://vuldb.com/?ctiid.214027 | signaturepermissions-required | |
| https://vuldb.com/?id.214027 | vdb-entrytechnical-descriptionThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2022-4065 |
Change history (0)
No recorded changes yet.