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

CVE-2022-4065 (High) detected in testng-6.8.13.jar, testng-6.14.3.jar #265

Open
mend-bolt-for-github bot opened this issue Nov 21, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Nov 21, 2022

CVE-2022-4065 - High Severity Vulnerability

Vulnerable Libraries - testng-6.8.13.jar, testng-6.14.3.jar

testng-6.8.13.jar

TestNG is a testing framework.

Library home page: http://testng.org

Path to dependency file: /spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-testng/build.gradle

Path to vulnerable library: /le/caches/modules-2/files-2.1/org.testng/testng/6.8.13/a1aed82b88eee9bd806d5e0eefbb452fed5c7877/testng-6.8.13.jar

Dependency Hierarchy:

  • testng-6.8.13.jar (Vulnerable Library)
testng-6.14.3.jar

A testing framework for the JVM

Library home page: http://testng.org

Path to dependency file: /spring-boot-project/spring-boot-test/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.testng/testng/6.14.3/d24515dc253e77e54b73df97e1fb2eb7faf34fdd/testng-6.14.3.jar,/le/caches/modules-2/files-2.1/org.testng/testng/6.14.3/d24515dc253e77e54b73df97e1fb2eb7faf34fdd/testng-6.14.3.jar

Dependency Hierarchy:

  • testng-6.14.3.jar (Vulnerable Library)

Found in HEAD commit: 12b99a3ee31b333f29415387505dfb45f75ced5f

Found in base branch: main

Vulnerability Details

A vulnerability was found in cbeust testng. 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. The name of the patch is 9150736cd2c123a6a3b60e6193630859f9f0422b. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-214027.

Publish Date: 2022-11-19

URL: CVE-2022-4065

CVSS 3 Score Details (7.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

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


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Nov 21, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2022-4065 (Medium) detected in testng-6.8.13.jar, testng-6.14.3.jar CVE-2022-4065 (High) detected in testng-6.8.13.jar, testng-6.14.3.jar Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants