labsai/EDDI

keycloak-core-21.0.2.jar: 1 vulnerabilities (highest severity is: 6.5) - autoclosed

mend-bolt-for-github opened this issue · 1 comments

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

CVE Severity CVSS Dependency Type Fixed in (keycloak-core version) Remediation Possible**
CVE-2023-1664 Medium 6.5 keycloak-core-21.0.2.jar Direct 21.1.2

**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.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

Dependency Hierarchy:

  • keycloak-core-21.0.2.jar (Vulnerable Library)

Found in HEAD commit: 7664dbb2a09fe36117ac9a7e072a10600a02d0c8

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

Step up your Open Source Security Game with Mend here

✔️ 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.