hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
2.05k stars 1.33k forks source link

CVE-2024-6763 (Low) detected in jetty-server-12.0.9.jar, jetty-http-12.0.9.jar - autoclosed #6368

Closed mend-bolt-for-github[bot] closed 2 days ago

mend-bolt-for-github[bot] commented 1 month ago

CVE-2024-6763 - Low Severity Vulnerability

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

jetty-server-12.0.9.jar

The legacy jetty server artifact.

Library home page: https://webtide.com

Path to dependency file: /hapi-fhir-cli/hapi-fhir-cli-app/pom.xml

Path to vulnerable library: /hapi-fhir-cli/hapi-fhir-cli-app/pom.xml,/hapi-fhir-docs/pom.xml,/hapi-fhir-jpaserver-test-utilities/pom.xml,/hapi-fhir-test-utilities/pom.xml,/hapi-fhir-storage-test-utilities/pom.xml,/hapi-fhir-jpaserver-elastic-test-utilities/pom.xml,/tests/hapi-fhir-base-test-jaxrsserver-kotlin/pom.xml,/hapi-fhir-storage-batch2-test-utilities/pom.xml

Dependency Hierarchy: - :x: **jetty-server-12.0.9.jar** (Vulnerable Library)

jetty-http-12.0.9.jar

Library home page: https://webtide.com

Path to dependency file: /hapi-fhir-docs/pom.xml

Path to vulnerable library: /hapi-fhir-docs/pom.xml,/hapi-fhir-cli/hapi-fhir-cli-app/pom.xml,/hapi-fhir-jpaserver-test-utilities/pom.xml,/hapi-fhir-jpaserver-elastic-test-utilities/pom.xml,/hapi-fhir-storage-test-utilities/pom.xml,/hapi-fhir-test-utilities/pom.xml,/hapi-fhir-storage-batch2-test-utilities/pom.xml,/tests/hapi-fhir-base-test-jaxrsserver-kotlin/pom.xml

Dependency Hierarchy: - jetty-server-12.0.9.jar (Root Library) - :x: **jetty-http-12.0.9.jar** (Vulnerable Library)

Found in HEAD commit: 4d4d8b25d41ea632109b5a3585587d2bf861b5d6

Found in base branch: master

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: https://github.com/jetty/jetty.project/security/advisories/GHSA-qh8g-58pp-2wxh

Release Date: 2024-10-14

Fix Resolution (org.eclipse.jetty:jetty-http): 12.0.12

Direct dependency fix Resolution (org.eclipse.jetty:jetty-server): 12.0.12


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 2 days ago

:heavy_check_mark: 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.