cbeust testng 7.5.0/7.6.0/7.6.1/7.7.0 XML File Parser JarFileUtils.java testngXmlExistsInJar path traversal

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 with an unknown input leads to a path traversal vulnerability. The CWE definition for the vulnerability is CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was disclosed 11/19/2022 as 2806. It is possible to read the advisory at github.com. This vulnerability is known as CVE-2022-4065. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1006 according to MITRE ATT&CK.

Upgrading to version 7.5.1 or 7.7.1 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 9150736cd2c123a6a3b60e6193630859f9f0422b is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

Productinfo

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.2

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CNA Base Score: 5.5
CNA Vector (VulDB): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Path traversal
CWE: CWE-22
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: testng 7.5.1/7.7.1
Patch: 9150736cd2c123a6a3b60e6193630859f9f0422b

Timelineinfo

11/19/2022 🔍
11/19/2022 +0 days 🔍
11/19/2022 +0 days 🔍
04/29/2023 +161 days 🔍

Sourcesinfo

Advisory: 2806
Status: Confirmed

CVE: CVE-2022-4065 (🔍)
GCVE (CVE): GCVE-0-2022-4065
GCVE (VulDB): GCVE-100-214027

Entryinfo

Created: 11/19/2022 19:33
Updated: 04/29/2023 08:26
Changes: 11/19/2022 19:33 (42), 12/20/2022 19:00 (3), 12/20/2022 19:07 (21), 04/29/2023 08:22 (3), 04/29/2023 08:26 (1)
Complete: 🔍
Cache ID: 152:AC2:65

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!