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

wiremock-3.0.0-beta-2.jar: 1 vulnerabilities (highest severity is: 3.9) - autoclosed #59

Closed
mend-for-github-com bot opened this issue Feb 21, 2023 · 6 comments
Assignees
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Feb 21, 2023

Vulnerable Library - wiremock-3.0.0-beta-2.jar

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-xml/11.0.14/30210aaf71149eb446ce9cb0b659472d0f7d1ab5/jetty-xml-11.0.14.jar

Found in HEAD commit: 885b414d657c387125332f71c57c0f24afcbabda

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (wiremock version) Remediation Possible**
WS-2023-0236 Low 3.9 jetty-xml-11.0.14.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

WS-2023-0236

Vulnerable Library - jetty-xml-11.0.14.jar

The jetty xml utilities.

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-xml/11.0.14/30210aaf71149eb446ce9cb0b659472d0f7d1ab5/jetty-xml-11.0.14.jar

Dependency Hierarchy:

  • wiremock-3.0.0-beta-2.jar (Root Library)
    • jetty-webapp-11.0.14.jar
      • jetty-xml-11.0.14.jar (Vulnerable Library)

Found in HEAD commit: 885b414d657c387125332f71c57c0f24afcbabda

Found in base branch: main

Vulnerability Details

XmlParser is vulnerable to XML external entity (XXE) vulnerability.
XmlParser is being used when parsing Jetty’s xml configuration files. An attacker might exploit this vulnerability in order to achieve SSRF or cause a denial of service. One possible scenario is importing a (remote) malicious WAR into a Jetty’s server, while the WAR includes a malicious web.xml. The vulnerability is patched in versions 10.0.16, 11.0.16, and 12.0.0.

Publish Date: 2023-07-10

URL: WS-2023-0236

CVSS 3 Score Details (3.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: High
    • Privileges Required: High
    • 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-58qw-p7qm-5rvh

Release Date: 2023-07-10

Fix Resolution: org.eclipse.jetty:jetty-xml:10.0.16,11.0.16,12.0.0

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Feb 21, 2023
@Yury-Fridlyand
Copy link
Collaborator

Wiremock issue: wiremock/wiremock#1994

@derek-ho
Copy link
Collaborator

Latest version of wiremock still has this vulnerability: https://mvnrepository.com/artifact/com.github.tomakehurst/wiremock/3.0.0-beta-3

@ps48 ps48 mentioned this issue Mar 7, 2023
6 tasks
@mend-for-github-com mend-for-github-com bot changed the title wiremock-3.0.0-beta-2.jar: 1 vulnerabilities (highest severity is: 5.5) wiremock-3.0.0-beta-2.jar: 1 vulnerabilities (highest severity is: 5.5) - autoclosed Mar 7, 2023
@mend-for-github-com
Copy link
Contributor Author

✔️ 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.

@mend-for-github-com mend-for-github-com bot changed the title wiremock-3.0.0-beta-2.jar: 1 vulnerabilities (highest severity is: 5.5) - autoclosed wiremock-3.0.0-beta-2.jar: 1 vulnerabilities (highest severity is: 3.9) Jul 28, 2023
@mend-for-github-com mend-for-github-com bot reopened this Jul 28, 2023
@mend-for-github-com
Copy link
Contributor Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

@derek-ho
Copy link
Collaborator

derek-ho commented Aug 3, 2023

@Yury-Fridlyand assigning to you since it seems like you have the most context around this issue. Please raise an issue with the team if you need assistance to close this out, thanks!

@mend-for-github-com mend-for-github-com bot changed the title wiremock-3.0.0-beta-2.jar: 1 vulnerabilities (highest severity is: 3.9) wiremock-3.0.0-beta-2.jar: 1 vulnerabilities (highest severity is: 3.9) - autoclosed Jan 25, 2024
Copy link
Contributor Author

✔️ 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.

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
None yet
Development

No branches or pull requests

2 participants