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.
Path to vulnerable library: /target/quarkus-app/lib/main/org.keycloak.keycloak-core-21.0.2.jar,/home/wss-scanner/.m2/repository/org/keycloak/keycloak-core/21.0.2/keycloak-core-21.0.2.jar
Path to vulnerable library: /target/quarkus-app/lib/main/org.keycloak.keycloak-core-21.0.2.jar,/home/wss-scanner/.m2/repository/org/keycloak/keycloak-core/21.0.2/keycloak-core-21.0.2.jar
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.
: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.
Vulnerable Library - keycloak-core-21.0.2.jar
Library home page: http://keycloak.org
Path to dependency file: /pom.xml
Path to vulnerable library: /target/quarkus-app/lib/main/org.keycloak.keycloak-core-21.0.2.jar,/home/wss-scanner/.m2/repository/org/keycloak/keycloak-core/21.0.2/keycloak-core-21.0.2.jar
Found in HEAD commit: 7664dbb2a09fe36117ac9a7e072a10600a02d0c8
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2023-1664
### Vulnerable Library - keycloak-core-21.0.2.jarLibrary home page: http://keycloak.org
Path to dependency file: /pom.xml
Path to vulnerable library: /target/quarkus-app/lib/main/org.keycloak.keycloak-core-21.0.2.jar,/home/wss-scanner/.m2/repository/org/keycloak/keycloak-core/21.0.2/keycloak-core-21.0.2.jar
Dependency Hierarchy: - :x: **keycloak-core-21.0.2.jar** (Vulnerable Library)
Found in HEAD commit: 7664dbb2a09fe36117ac9a7e072a10600a02d0c8
Found in base branch: main
### Vulnerability DetailsA 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 FixType: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2023-1664
Release Date: 2023-05-26
Fix Resolution: 21.1.2
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)