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-keycloak-authorization-3.0.3.Final.jar: 1 vulnerabilities (highest severity is: 6.5) - autoclosed #343

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

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - quarkus-keycloak-authorization-3.0.3.Final.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/keycloak/keycloak-core/21.0.2/keycloak-core-21.0.2.jar

Found in HEAD commit: bc0e029b150ca819c6d337ba4e060c025c1eaf5d

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (quarkus-keycloak-authorization version) Remediation Available
CVE-2023-1664 Medium 6.5 keycloak-core-21.0.2.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.

Details

CVE-2023-1664 ### Vulnerable Library - keycloak-core-21.0.2.jar

Library home page: http://keycloak.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/keycloak/keycloak-core/21.0.2/keycloak-core-21.0.2.jar

Dependency Hierarchy: - quarkus-keycloak-authorization-3.0.3.Final.jar (Root Library) - :x: **keycloak-core-21.0.2.jar** (Vulnerable Library)

Found in HEAD commit: bc0e029b150ca819c6d337ba4e060c025c1eaf5d

Found in base branch: main

### Vulnerability Details

A flaw was found in Keycloak. This flaw depends on a non-default configuration "Revalidate Client Certificate" to be enabled and the reverse proxy is not validating the certificate before Keycloak. Using this method an attacker may choose the certificate which will be validated by the server. If this happens and the KC_SPI_TRUSTSTORE_FILE_FILE variable is missing/misconfigured, any trustfile may be accepted with the logging information of "Cannot validate client certificate trust: Truststore not available". This may not impact availability as the attacker would have no access to the server, but consumer applications Integrity or Confidentiality may be impacted considering a possible access to them. Considering the environment is correctly set to use "Revalidate Client Certificate" this flaw is avoidable.

Publish Date: 2023-05-26

URL: CVE-2023-1664

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - 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://nvd.nist.gov/vuln/detail/CVE-2023-1664

Release Date: 2023-05-26

Fix Resolution: org.keycloak:keycloak-core - 1.5.0-Final

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.