KouShenhai/KCloud-Platform-IoT

laokou-common-test-3.3.0.jar: 1 vulnerabilities (highest severity is: 5.6) - autoclosed

mend-bolt-for-github opened this issue · 1 comments

Vulnerable Library - laokou-common-test-3.3.0.jar

Path to dependency file: /laokou-service/laokou-auth/laokou-auth-start/pom.xml

Path to vulnerable library: /laokou-service/laokou-auth/laokou-auth-start/pom.xml,/laokou-common/laokou-common-test/pom.xml

Found in HEAD commit: ef652fd114447a7d5df0fb773f0b2b572fa96dc0

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (laokou-common-test version) Remediation Possible**
CVE-2024-31573 Medium 5.6 xmlunit-core-2.9.1.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-2024-31573

Vulnerable Library - xmlunit-core-2.9.1.jar

XMLUnit for Java

Library home page: https://www.xmlunit.org/

Path to dependency file: /laokou-service/laokou-auth/laokou-auth-start/pom.xml

Path to vulnerable library: /laokou-service/laokou-auth/laokou-auth-start/pom.xml,/laokou-common/laokou-common-test/pom.xml

Dependency Hierarchy:

  • laokou-common-test-3.3.0.jar (Root Library)
    • spring-boot-starter-test-3.3.0.jar
      • xmlunit-core-2.9.1.jar (Vulnerable Library)

Found in HEAD commit: ef652fd114447a7d5df0fb773f0b2b572fa96dc0

Found in base branch: master

Vulnerability Details

When performing XSLT transformations XMLUnit for Java before 2.10.0 did not disable XSLT extension functions by default. Depending on the XSLT processor being used this could allow arbitrary code to be executed when XMLUnit is used to transform data with a stylesheet who's source can not be trusted. If the stylesheet can be provided externally this may even lead to a remote code execution.

Publish Date: 2024-04-05

URL: CVE-2024-31573

CVSS 3 Score Details (5.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • 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-chfm-68vv-pvw5

Release Date: 2024-04-05

Fix Resolution: org.xmlunit:xmlunit-core:2.10.0

Step up your Open Source Security Game with Mend here

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.