labsai / EDDI

Prompt & Conversation Management Middleware for Conversational AI APIs such as OpenAI ChatGPT, Facebook Hugging Face, Anthropic Claude, Google Gemini and Ollama. Lean, restful, scalable, and cloud-native. Developed in Java, powered by Quarkus, provided with Docker, and orchestrated with Kubernetes or Openshift.
https://eddi.labs.ai
254 stars 91 forks source link

quarkus-resteasy-2.16.1.Final.jar: 1 vulnerabilities (highest severity is: 4.8) - autoclosed #325

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - quarkus-resteasy-2.16.1.Final.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/vertx/vertx-web/4.3.7/vertx-web-4.3.7.jar

Found in HEAD commit: 861364c29824ca4285935af2752170ac34f4883b

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (quarkus-resteasy version) Remediation Available
CVE-2023-24815 Medium 4.8 vertx-web-4.3.7.jar Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the section "Details" below to see if there is a version of transitive dependency where vulnerability is fixed.

Details

CVE-2023-24815 ### Vulnerable Library - vertx-web-4.3.7.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/vertx/vertx-web/4.3.7/vertx-web-4.3.7.jar

Dependency Hierarchy: - quarkus-resteasy-2.16.1.Final.jar (Root Library) - quarkus-vertx-http-2.16.1.Final.jar - :x: **vertx-web-4.3.7.jar** (Vulnerable Library)

Found in HEAD commit: 861364c29824ca4285935af2752170ac34f4883b

Found in base branch: main

### Vulnerability Details

Vert.x-Web is a set of building blocks for building web applications in the java programming language. When running vertx web applications that serve files using `StaticHandler` on Windows Operating Systems and Windows File Systems, if the mount point is a wildcard (`*`) then an attacker can exfiltrate any class path resource. When computing the relative path to locate the resource, in case of wildcards, the code: `return "/" + rest;` from `Utils.java` returns the user input (without validation) as the segment to lookup. Even though checks are performed to avoid escaping the sandbox, given that the input was not sanitized `\` are not properly handled and an attacker can build a path that is valid within the classpath. This issue only affects users deploying in windows environments and upgrading is the advised remediation path. There are no known workarounds for this vulnerability.

Publish Date: 2023-02-09

URL: CVE-2023-24815

### CVSS 3 Score Details (4.8)

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: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/vert-x3/vertx-web/security/advisories/GHSA-53jx-vvf9-4x38

Release Date: 2023-02-09

Fix Resolution: io.vertx:vertx-web:4.3.8

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 1 year 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.