Open mend-for-github-com[bot] opened 1 year ago
This is another transitive CVE that we don't have solution to fix it at the moment. even in the latest groovy-testng:3.0.18, it is still vulnerable to CVE-2022-4065 https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-testng/3.0.18
| +--- org.codehaus.groovy:groovy-testng:3.0.15
| | +--- org.codehaus.groovy:groovy:3.0.15
| | \--- org.testng:testng:7.5
at the moment , the latest org.codehaus.groovy:groovy-testng:3.0.19
still does not address this CVE .. will need to wait for it
Vulnerable Library - groovy-all-3.0.15-groovydoc.jar
Path to dependency file: /build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.testng/testng/7.5/1416a607fae667c14e390b484e8d02b5824c0674/testng-7.5.jar
Found in HEAD commit: 26696d30ae3a174047ee21ec6573e9b8b0bc1d1e
Vulnerabilities
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2022-4065
### Vulnerable Library - testng-7.5.jarTesting framework for Java
Library home page: https://testng.org
Path to dependency file: /build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.testng/testng/7.5/1416a607fae667c14e390b484e8d02b5824c0674/testng-7.5.jar
Dependency Hierarchy: - groovy-all-3.0.15-groovydoc.jar (Root Library) - groovy-testng-3.0.15.jar - :x: **testng-7.5.jar** (Vulnerable Library)
Found in HEAD commit: 26696d30ae3a174047ee21ec6573e9b8b0bc1d1e
Found in base branch: main
### Vulnerability DetailsA 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.
Publish Date: 2022-11-19
URL: CVE-2022-4065
### CVSS 3 Score Details (5.5)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Release Date: 2022-11-19
Fix Resolution: org.testng:testng:7.7.0