Skip to content

testng-7.6.1.jar: 1 vulnerabilities (highest severity is: 5.5) #2

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - testng-7.6.1.jar

Testing framework for Java

Library home page: https://testng.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/testng/testng/7.6.1/testng-7.6.1.jar

Found in HEAD commit: 1c4df5a2dad63eca1c6119afeeeffe013da8bd2d

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (testng version) Remediation Possible**
CVE-2022-4065 Medium 5.5 testng-7.6.1.jar Direct org.testng:testng:7.7.0,org.testng:testng:7.5.1

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

Testing framework for Java

Library home page: https://testng.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/testng/testng/7.6.1/testng-7.6.1.jar

Dependency Hierarchy:

  • testng-7.6.1.jar (Vulnerable Library)

Found in HEAD commit: 1c4df5a2dad63eca1c6119afeeeffe013da8bd2d

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

Origin: GHSA-rc2q-x9mf-w3vf

Release Date: 2022-11-19

Fix Resolution: org.testng:testng:7.7.0,org.testng:testng:7.5.1

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions