Skip to content

wiremock-3.11.0.jar: 3 vulnerabilities (highest severity is: 7.5) - autoclosed #405

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - wiremock-3.11.0.jar

Path to dependency file: /build.gradle.kts

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-http/11.0.24/eb6113b806eb606750e79fa0bbead5d95f0fc1ad/jetty-http-11.0.24.jar

Found in HEAD commit: bcd045f0219e475bdc4ddc486668d72ea0f67182

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (wiremock version) Remediation Possible**
CVE-2024-57699 High 7.5 json-smart-2.5.1.jar Transitive N/A*
CVE-2024-47554 Medium 4.3 commons-io-2.11.0.jar Transitive N/A*
CVE-2024-6763 Low 3.7 detected in multiple dependencies 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-57699

Vulnerable Library - json-smart-2.5.1.jar

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

Library home page: https://urielch.github.io/

Path to dependency file: /build.gradle.kts

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/net.minidev/json-smart/2.5.1/4c11d2808d009132dfbbf947ebf37de6bf266c8e/json-smart-2.5.1.jar

Dependency Hierarchy:

  • wiremock-3.11.0.jar (Root Library)
    • json-smart-2.5.1.jar (Vulnerable Library)

Found in HEAD commit: bcd045f0219e475bdc4ddc486668d72ea0f67182

Found in base branch: main

Vulnerability Details

A security issue was found in Netplex Json-smart 2.5.0 through 2.5.1. When loading a specially crafted JSON input, containing a large number of ’{’, a stack exhaustion can be trigger, which could allow an attacker to cause a Denial of Service (DoS). This issue exists because of an incomplete fix for CVE-2023-1370.

Publish Date: 2025-02-05

URL: CVE-2024-57699

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

CVE-2024-47554

Vulnerable Library - commons-io-2.11.0.jar

The Apache Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.

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

Path to dependency file: /build.gradle.kts

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.11.0/a2503f302b11ebde7ebc3df41daebe0e4eea3689/commons-io-2.11.0.jar

Dependency Hierarchy:

  • wiremock-3.11.0.jar (Root Library)
    • commons-fileupload-1.5.jar
      • commons-io-2.11.0.jar (Vulnerable Library)

Found in HEAD commit: bcd045f0219e475bdc4ddc486668d72ea0f67182

Found in base branch: main

Vulnerability Details

Uncontrolled Resource Consumption vulnerability in Apache Commons IO.

The org.apache.commons.io.input.XmlStreamReader class may excessively consume CPU resources when processing maliciously crafted input.

This issue affects Apache Commons IO: from 2.0 before 2.14.0.

Users are recommended to upgrade to version 2.14.0 or later, which fixes the issue.

Publish Date: 2024-10-03

URL: CVE-2024-47554

CVSS 3 Score Details (4.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://lists.apache.org/thread/6ozr91rr9cj5lm0zyhv30bsp317hk5z1

Release Date: 2024-10-03

Fix Resolution: commons-io:commons-io:2.14.0

CVE-2024-6763

Vulnerable Libraries - jetty-server-11.0.24.jar, jetty-http-11.0.24.jar

jetty-server-11.0.24.jar

The core jetty server artifact.

Library home page: https://jetty.org

Path to dependency file: /build.gradle.kts

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-server/11.0.24/688f5b139c37094b70c8d706a234afaaacd06fe6/jetty-server-11.0.24.jar

Dependency Hierarchy:

  • wiremock-3.11.0.jar (Root Library)
    • jetty-server-11.0.24.jar (Vulnerable Library)

jetty-http-11.0.24.jar

Library home page: https://jetty.org

Path to dependency file: /build.gradle.kts

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-http/11.0.24/eb6113b806eb606750e79fa0bbead5d95f0fc1ad/jetty-http-11.0.24.jar

Dependency Hierarchy:

  • wiremock-3.11.0.jar (Root Library)
    • jetty-server-11.0.24.jar
      • jetty-http-11.0.24.jar (Vulnerable Library)

Found in HEAD commit: bcd045f0219e475bdc4ddc486668d72ea0f67182

Found in base branch: main

Vulnerability Details

Eclipse Jetty is a lightweight, highly scalable, Java-based web server and Servlet engine . It includes a utility class, HttpURI, for URI/URL parsing. The HttpURI class does insufficient validation on the authority segment of a URI. However the behaviour of HttpURI differs from the common browsers in how it handles a URI that would be considered invalid if fully validated against the RRC. Specifically HttpURI and the browser may differ on the value of the host extracted from an invalid URI and thus a combination of Jetty and a vulnerable browser may be vulnerable to a open redirect attack or to a SSRF attack if the URI is used after passing validation checks.

Publish Date: 2024-10-14

URL: CVE-2024-6763

CVSS 3 Score Details (3.7)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-qh8g-58pp-2wxh

Release Date: 2024-10-14

Fix Resolution: org.eclipse.jetty:jetty-http:12.0.12;org.eclipse.jetty:jetty-server:12.0.12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions