
CVE catalog
CVE-2022-4065
testng: CVE-2022-4065
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.97% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | testng | sid | 6.9.12-5 | not affected |
| Debian | testng | forky | 6.9.12-5 | not affected |
| Debian | testng | trixie | 6.9.12-4 | not affected |
| Debian | testng | bookworm | 6.9.12-4 | not affected |
| Suse | snakeyaml | linux enterprise module for development tools 15 sp5 | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise module for development tools 15 sp5 | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | linux enterprise module for development tools 15 sp6 | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise module for development tools 15 sp6 | 7.10.1-150200.3.10.1 | fixed |
| Suse | mockito | linux enterprise module for package hub 15 sp6 | 5.11.0-150200.3.7.1 | fixed |
| Suse | snakeyaml | manager server module 4.3 | 2.2-150200.3.15.1 | fixed |
| Suse | snakeyaml | linux enterprise high performance computing 15 sp2-ltss | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise high performance computing 15 sp2-ltss | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | linux enterprise high performance computing 15 sp3-ltss | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise high performance computing 15 sp3-ltss | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | linux enterprise high performance computing 15 sp4-espos | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise high performance computing 15 sp4-espos | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | linux enterprise high performance computing 15 sp4-ltss | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise high performance computing 15 sp4-ltss | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | linux enterprise server 15 sp2-ltss | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise server 15 sp2-ltss | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | linux enterprise server 15 sp3-ltss | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise server 15 sp3-ltss | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | linux enterprise server 15 sp4-ltss | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise server 15 sp4-ltss | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | linux enterprise server for sap applications 15 sp2 | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise server for sap applications 15 sp2 | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | linux enterprise server for sap applications 15 sp3 | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise server for sap applications 15 sp3 | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | linux enterprise server for sap applications 15 sp4 | 2.2-150200.3.15.1 | fixed |
| Suse | testng | linux enterprise server for sap applications 15 sp4 | 7.10.1-150200.3.10.1 | fixed |
| Suse | snakeyaml | enterprise storage 7.1 | 2.2-150200.3.15.1 | fixed |
| Suse | testng | enterprise storage 7.1 | 7.10.1-150200.3.10.1 | fixed |
| Opensuse | mockito | leap 15.5 | 5.11.0-150200.3.7.1 | fixed |
| Opensuse | snakeyaml | leap 15.5 | 2.2-150200.3.15.1 | fixed |
| Opensuse | testng | leap 15.5 | 7.10.1-150200.3.10.1 | fixed |
| Opensuse | mockito | leap 15.6 | 5.11.0-150200.3.7.1 | fixed |
| Opensuse | snakeyaml | leap 15.6 | 2.2-150200.3.15.1 | fixed |
| Opensuse | testng | leap 15.6 | 7.10.1-150200.3.10.1 | fixed |
| Suse | testng | linux enterprise module for development tools 15 sp4 | 7.4.0-150200.3.7.1 | fixed |
| Suse | testng | linux enterprise high performance computing 15 sp2-ltss | 7.4.0-150200.3.7.1 | fixed |
| Suse | testng | linux enterprise high performance computing 15 sp3-espos | 7.4.0-150200.3.7.1 | fixed |
| Suse | testng | linux enterprise high performance computing 15 sp3-ltss | 7.4.0-150200.3.7.1 | fixed |
| Suse | testng | linux enterprise real time 15 sp3 | 7.4.0-150200.3.7.1 | fixed |
| Suse | testng | linux enterprise server 15 sp2-ltss | 7.4.0-150200.3.7.1 | fixed |
| Suse | testng | linux enterprise server 15 sp3-ltss | 7.4.0-150200.3.7.1 | fixed |
| Suse | testng | linux enterprise server for sap applications 15 sp2 | 7.4.0-150200.3.7.1 | fixed |
| Suse | testng | linux enterprise server for sap applications 15 sp3 | 7.4.0-150200.3.7.1 | fixed |
| Suse | testng | enterprise storage 7 | 7.4.0-150200.3.7.1 | fixed |
| Suse | testng | enterprise storage 7.1 | 7.4.0-150200.3.7.1 | fixed |
| Opensuse | testng | leap 15.4 | 7.4.0-150200.3.7.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | testng | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | testng | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | testng | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | testng | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Suse | snakeyaml | rpm | linux enterprise module for development tools 15 sp5 | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise module for development tools 15 sp5 | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise module for development tools 15 sp6 | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise module for development tools 15 sp6 | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | mockito | rpm | linux enterprise module for package hub 15 sp6 | 5.11.0-150200.3.7.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | manager server module 4.3 | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise high performance computing 15 sp2-ltss | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise high performance computing 15 sp2-ltss | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise high performance computing 15 sp3-ltss | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise high performance computing 15 sp3-ltss | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise high performance computing 15 sp4-espos | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise high performance computing 15 sp4-espos | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise high performance computing 15 sp4-ltss | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise high performance computing 15 sp4-ltss | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise server 15 sp2-ltss | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise server 15 sp2-ltss | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise server 15 sp3-ltss | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise server 15 sp3-ltss | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise server 15 sp4-ltss | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise server 15 sp4-ltss | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise server for sap applications 15 sp2 | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise server for sap applications 15 sp2 | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise server for sap applications 15 sp3 | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise server for sap applications 15 sp3 | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | linux enterprise server for sap applications 15 sp4 | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise server for sap applications 15 sp4 | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | snakeyaml | rpm | enterprise storage 7.1 | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | enterprise storage 7.1 | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Opensuse | mockito | rpm | leap 15.5 | 5.11.0-150200.3.7.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Opensuse | snakeyaml | rpm | leap 15.5 | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Opensuse | testng | rpm | leap 15.5 | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Opensuse | mockito | rpm | leap 15.6 | 5.11.0-150200.3.7.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Opensuse | snakeyaml | rpm | leap 15.6 | 2.2-150200.3.15.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Opensuse | testng | rpm | leap 15.6 | 7.10.1-150200.3.10.1 | Not reported | SUSE-SU-2024:2568-1 | Not reported |
| Suse | testng | rpm | linux enterprise module for development tools 15 sp4 | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Suse | testng | rpm | linux enterprise high performance computing 15 sp2-ltss | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Suse | testng | rpm | linux enterprise high performance computing 15 sp3-espos | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Suse | testng | rpm | linux enterprise high performance computing 15 sp3-ltss | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Suse | testng | rpm | linux enterprise real time 15 sp3 | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Suse | testng | rpm | linux enterprise server 15 sp2-ltss | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Suse | testng | rpm | linux enterprise server 15 sp3-ltss | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Suse | testng | rpm | linux enterprise server for sap applications 15 sp2 | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Suse | testng | rpm | linux enterprise server for sap applications 15 sp3 | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Suse | testng | rpm | enterprise storage 7 | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Suse | testng | rpm | enterprise storage 7.1 | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
| Opensuse | testng | rpm | leap 15.4 | 7.4.0-150200.3.7.1 | Not reported | SUSE-SU-2023:1690-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [testng]Not affected
Details (2)
6.9.12-4· all · bookwormNot affected
dsa · testng · debian · bookworm
6.9.12-4· all · bookwormNot affected
dsa · testng · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_1690-1.json]
- [https://osv.dev/vulnerability/SUSE-SU-2023:1690-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:2568-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-4065]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]