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
257 stars 93 forks source link

quarkus-resteasy-multipart-2.16.6.Final.jar: 2 vulnerabilities (highest severity is: 5.5) - autoclosed #334

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

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/james/apache-mime4j-storage/0.8.3/apache-mime4j-storage-0.8.3.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (quarkus-resteasy-multipart version) Remediation Available
CVE-2022-45787 Medium 5.5 apache-mime4j-storage-0.8.3.jar Transitive N/A*
CVE-2023-0482 Medium 5.5 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.

Details

CVE-2022-45787 ### Vulnerable Library - apache-mime4j-storage-0.8.3.jar

Java MIME Document Object Model Storage

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/james/apache-mime4j-storage/0.8.3/apache-mime4j-storage-0.8.3.jar

Dependency Hierarchy: - quarkus-resteasy-multipart-2.16.6.Final.jar (Root Library) - resteasy-multipart-provider-4.7.7.Final.jar - :x: **apache-mime4j-storage-0.8.3.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Unproper laxist permissions on the temporary files used by MIME4J TempFileStorageProvider may lead to information disclosure to other local users. This issue affects Apache James MIME4J version 0.8.8 and prior versions. We recommend users to upgrade to MIME4j version 0.8.9 or later.

Publish Date: 2023-01-06

URL: CVE-2022-45787

### CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-q84x-3476-8ff2

Release Date: 2023-01-06

Fix Resolution: org.apache.james:apache-mime4j-storage:0.8.9

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2023-0482 ### Vulnerable Libraries - resteasy-multipart-provider-4.7.7.Final.jar, resteasy-core-4.7.7.Final.jar

### resteasy-multipart-provider-4.7.7.Final.jar

Library home page: https://jboss.org/resteasy

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/jboss/resteasy/resteasy-multipart-provider/4.7.7.Final/resteasy-multipart-provider-4.7.7.Final.jar

Dependency Hierarchy: - quarkus-resteasy-multipart-2.16.6.Final.jar (Root Library) - :x: **resteasy-multipart-provider-4.7.7.Final.jar** (Vulnerable Library) ### resteasy-core-4.7.7.Final.jar

Library home page: https://jboss.org/resteasy

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/jboss/resteasy/resteasy-core/4.7.7.Final/resteasy-core-4.7.7.Final.jar

Dependency Hierarchy: - quarkus-resteasy-multipart-2.16.6.Final.jar (Root Library) - resteasy-multipart-provider-4.7.7.Final.jar - :x: **resteasy-core-4.7.7.Final.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

In RESTEasy the insecure File.createTempFile() is used in the DataSourceProvider, FileProvider and Mime4JWorkaround classes which creates temp files with insecure permissions that could be read by a local user.

Publish Date: 2023-02-17

URL: CVE-2023-0482

### CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

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.