Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groovy-all-3.0.15-groovydoc.jar: 1 vulnerabilities (highest severity is: 5.5) #224

Open
mend-for-github-com bot opened this issue Jun 13, 2023 · 2 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Jun 13, 2023

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

CVE Severity CVSS Dependency Type Fixed in (groovy-all version) Remediation Possible**
CVE-2022-4065 Medium 5.5 testng-7.5.jar Transitive N/A*

*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.jar

Testing 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
      • testng-7.5.jar (Vulnerable Library)

Found in HEAD commit: 26696d30ae3a174047ee21ec6573e9b8b0bc1d1e

Found in base branch: main

Vulnerability Details

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.

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 Fix

Type: Upgrade version

Release Date: 2022-11-19

Fix Resolution: org.testng:testng:7.7.0

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jun 13, 2023
@jordarlu
Copy link
Contributor

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

@jordarlu
Copy link
Contributor

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

@mend-for-github-com mend-for-github-com bot changed the title groovy-all-3.0.15-groovydoc.jar: 1 vulnerabilities (highest severity is: 7.8) groovy-all-3.0.15-groovydoc.jar: 1 vulnerabilities (highest severity is: 5.5) Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
Status: Backlog
Development

No branches or pull requests

2 participants