PT-2022-7280

CVE-2022-4065

·

تاريخ النشر

2022-11-19

·

تاريخ التحديث

2026-11-25

الوصف من

CVSS 3.1
7.8
عالية
المقاييسAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions cbeust testng versions 7.5.0 through 7.7.0
Description A critical issue affects the function testngXmlExistsInJar of the file testng-core/src/main/java/org/testng/JarFileUtils.java of the component XML File Parser, leading to path traversal. The attack can be launched remotely, potentially allowing an attacker to execute arbitrary code with a specially crafted zip file. The manipulation is limited to .xml, .yaml, and .yml files by default.
Recommendations For versions 7.5.0, 7.6.0, and 7.6.1, upgrade to version 7.5.1. For version 7.7.0, upgrade to version 7.7.1. As a temporary workaround, consider specifying which tests to run when invoking TestNG by configuring them on the CLI or in the build tool controlling the run. Do not run tests with untrusted JARs on the classpath, including pull requests on open source projects.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-RC2Q-X9MF-W3VF
CLEANSTART-2026-KQ85580
CLEANSTART-2026-QY61937
CLEANSTART-2026-WB83949
MGASA-2023-0220
OESA-2024-1072
OPENSUSE-SU-2024:12533-1
SUSE-SU-2023:1690-1
SUSE-SU-2023_1690-1
SUSE-SU-2024:2568-1
SUSE-SU-2024_2568-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾