CVE-2022-4065
published medium CVSS 3.1 · 5.5cbeust testng XML File Parser JarFileUtils.java testngXmlExistsInJar path traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cbeust | — | testng7.5.0 · 7.6.0 · 7.6.1 · 7.7.0 | Affected | Not stated | VulDB |
| SUSE / openSUSE | SLE-15-SP2 | testngnoarch | Advisory build | 7.10.1-150200.3.10.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | SLE-15-SP2 | testngnoarch | Advisory build | 7.4.0-150200.3.7.1 | SUSE-SU-2023:1690-1 |
| SUSE / openSUSE | SLE-15-SP3 | testngnoarch | Advisory build | 7.10.1-150200.3.10.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | SLE-15-SP3 | testngnoarch | Advisory build | 7.4.0-150200.3.7.1 | SUSE-SU-2023:1690-1 |
| SUSE / openSUSE | SLE-15-SP4 | testngnoarch | Advisory build | 7.10.1-150200.3.10.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | SLE-15-SP4 | testngnoarch | Advisory build | 7.4.0-150200.3.7.1 | SUSE-SU-2023:1690-1 |
| SUSE / openSUSE | SLE-15-SP5 | testngnoarch | Advisory build | 7.10.1-150200.3.10.1 | SUSE-SU-2024:2568-1 |
Show 29 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | testngnoarch | Advisory build | 7.10.1-150200.3.10.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | testngnoarch | Advisory build | 7.4.0-150200.3.7.1 | SUSE-SU-2023:1690-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | testngnoarch | Advisory build | 7.10.1-150200.3.10.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | testngnoarch | Advisory build | 7.10.1-150200.3.10.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | testngaarch64 | Advisory build | 7.4.0-3.1 | OPENSUSE-SU-2024:12533-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | testngppc64le | Advisory build | 7.4.0-3.1 | OPENSUSE-SU-2024:12533-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | testngs390x | Advisory build | 7.4.0-3.1 | OPENSUSE-SU-2024:12533-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | testngx86_64 | Advisory build | 7.4.0-3.1 | OPENSUSE-SU-2024:12533-1 |
| SUSE / openSUSE | SLE-15-SP2 | snakeyamlnoarch | Advisory build | 2.2-150200.3.15.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | SLE-15-SP3 | snakeyamlnoarch | Advisory build | 2.2-150200.3.15.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | SLE-15-SP4 | snakeyamlnoarch | Advisory build | 2.2-150200.3.15.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | SLE-15-SP5 | snakeyamlnoarch | Advisory build | 2.2-150200.3.15.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | SLE-15-SP6 | mockitonoarch | Advisory build | 5.11.0-150200.3.7.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | SLE-15-SP6 | snakeyamlnoarch | Advisory build | 2.2-150200.3.15.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | testng-javadocnoarch | Advisory build | 7.4.0-150200.3.7.1 | SUSE-SU-2023:1690-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | mockitonoarch | Advisory build | 5.11.0-150200.3.7.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | mockito-javadocnoarch | Advisory build | 5.11.0-150200.3.7.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | snakeyamlnoarch | Advisory build | 2.2-150200.3.15.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | snakeyaml-javadocnoarch | Advisory build | 2.2-150200.3.15.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | testng-javadocnoarch | Advisory build | 7.10.1-150200.3.10.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | mockitonoarch | Advisory build | 5.11.0-150200.3.7.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | mockito-javadocnoarch | Advisory build | 5.11.0-150200.3.7.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | snakeyamlnoarch | Advisory build | 2.2-150200.3.15.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | snakeyaml-javadocnoarch | Advisory build | 2.2-150200.3.15.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | testng-javadocnoarch | Advisory build | 7.10.1-150200.3.10.1 | SUSE-SU-2024:2568-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | testng-javadocaarch64 | Advisory build | 7.4.0-3.1 | OPENSUSE-SU-2024:12533-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | testng-javadocppc64le | Advisory build | 7.4.0-3.1 | OPENSUSE-SU-2024:12533-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | testng-javadocs390x | Advisory build | 7.4.0-3.1 | OPENSUSE-SU-2024:12533-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | testng-javadocx86_64 | Advisory build | 7.4.0-3.1 | OPENSUSE-SU-2024:12533-1 |
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.
In cbeust testng 7.5.0/7.6.0/7.6.1/7.7.0 wurde eine kritische Schwachstelle ausgemacht. Betroffen ist die Funktion testngXmlExistsInJar der Datei testng-core/src/main/java/org/testng/JarFileUtils.java der Komponente XML File Parser. Dank der Manipulation mit unbekannten Daten kann eine path traversal-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk passieren. Ein Aktualisieren auf die Version 7.5.1 and 7.7.1 vermag dieses Problem zu lösen. Der Patch wird als 9150736cd2c123a6a3b60e6193630859f9f0422b bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.0 | 5.5 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cbeust | testng | 7.5.0 (affected)7.6.0 (affected)7.6.1 (affected)7.7.0 (affected) | VulDB · cna |
Weaknesses
1- CWE-22 CWE-22 Path Traversal
References
5Provider assertions
2VulDB · cna
cbeust testng XML File Parser JarFileUtils.java testngXmlExistsInJar path traversal
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ef0d42b04e6ad57fd7b056587835d9700731993416f013bc70a2bc68d96cdb61
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record