Bugzilla – Bug 1205628
VUL-0: CVE-2022-4065: testng: Issues in sanitization of zip files could lead to path traversal and potentially code execution
Last modified: 2024-07-22 08:30:07 UTC
CVE-2022-4065 A vulnerability was found in cbeust testng. 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. The name of the patch is 9150736cd2c123a6a3b60e6193630859f9f0422b. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-214027. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-4065 https://github.com/cbeust/testng/pull/2806 https://www.cve.org/CVERecord?id=CVE-2022-4065 https://github.com/cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b https://vuldb.com/?id.214027
This is an autogenerated message for OBS integration: This bug (1205628) was mentioned in https://build.opensuse.org/request/show/1037286 Factory / testng
SUSE-SU-2023:1690-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1205628 CVE References: CVE-2022-4065 Sources used: openSUSE Leap 15.4 (src): testng-7.4.0-150200.3.7.1 Development Tools Module 15-SP4 (src): testng-7.4.0-150200.3.7.1 SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): testng-7.4.0-150200.3.7.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): testng-7.4.0-150200.3.7.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): testng-7.4.0-150200.3.7.1 SUSE Linux Enterprise Real Time 15 SP3 (src): testng-7.4.0-150200.3.7.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): testng-7.4.0-150200.3.7.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): testng-7.4.0-150200.3.7.1 SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): testng-7.4.0-150200.3.7.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): testng-7.4.0-150200.3.7.1 SUSE Enterprise Storage 7.1 (src): testng-7.4.0-150200.3.7.1 SUSE Enterprise Storage 7 (src): testng-7.4.0-150200.3.7.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
This one is fixed. Reassigning to security for closing
done, closing
SUSE-SU-2024:2568-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1205628 CVE References: CVE-2022-4065 Maintenance Incident: [SUSE:Maintenance:33969](https://smelt.suse.de/incident/33969/) Sources used: openSUSE Leap 15.5 (src): testng-7.10.1-150200.3.10.1, mockito-5.11.0-150200.3.7.1, snakeyaml-2.2-150200.3.15.1 openSUSE Leap 15.6 (src): testng-7.10.1-150200.3.10.1, mockito-5.11.0-150200.3.7.1, snakeyaml-2.2-150200.3.15.1 Development Tools Module 15-SP5 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 Development Tools Module 15-SP6 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Package Hub 15 15-SP6 (src): mockito-5.11.0-150200.3.7.1 SUSE Manager Server 4.3 Module 4.3 (src): snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 SUSE Enterprise Storage 7.1 (src): testng-7.10.1-150200.3.10.1, snakeyaml-2.2-150200.3.15.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.