quarkus-keycloak-authorization-3.2.2.Final.jar: 3 vulnerabilities (highest severity is: 6.5) - autoclosed
mend-bolt-for-github opened this issue · 1 comments
Vulnerable Library - quarkus-keycloak-authorization-3.2.2.Final.jar
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: cf353461b9e15c9e8d45b6ec0175b6955b0f534e
Vulnerabilities
CVE | Severity | CVSS | Dependency | Type | Fixed in (quarkus-keycloak-authorization version) | Remediation Possible** |
---|---|---|---|---|---|---|
CVE-2023-1664 | Medium | 6.5 | keycloak-core-21.0.2.jar | Transitive | N/A* | ❌ |
CVE-2023-33201 | Medium | 5.3 | bcprov-jdk15on-1.70.jar | Transitive | N/A* | ❌ |
CVE-2023-2585 | Medium | 4.3 | keycloak-server-spi-private-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.
**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: /home/wss-scanner/.m2/repository/org/keycloak/keycloak-core/21.0.2/keycloak-core-21.0.2.jar
Dependency Hierarchy:
- quarkus-keycloak-authorization-3.2.2.Final.jar (Root Library)
- ❌ keycloak-core-21.0.2.jar (Vulnerable Library)
Found in HEAD commit: cf353461b9e15c9e8d45b6ec0175b6955b0f534e
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
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
CVE-2023-33201
Vulnerable Library - bcprov-jdk15on-1.70.jar
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 and up.
Library home page: https://www.bouncycastle.org/java.html
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.70/bcprov-jdk15on-1.70.jar
Dependency Hierarchy:
- quarkus-keycloak-authorization-3.2.2.Final.jar (Root Library)
- keycloak-adapter-core-21.0.2.jar
- keycloak-crypto-default-21.0.2.jar
- ❌ bcprov-jdk15on-1.70.jar (Vulnerable Library)
- keycloak-crypto-default-21.0.2.jar
- keycloak-adapter-core-21.0.2.jar
Found in HEAD commit: cf353461b9e15c9e8d45b6ec0175b6955b0f534e
Found in base branch: main
Vulnerability Details
Bouncy Castle For Java before 1.74 is affected by an LDAP injection vulnerability. The vulnerability only affects applications that use an LDAP CertStore from Bouncy Castle to validate X.509 certificates. During the certificate validation process, Bouncy Castle inserts the certificate's Subject Name into an LDAP search filter without any escaping, which leads to an LDAP injection vulnerability.
Publish Date: 2023-07-05
URL: CVE-2023-33201
CVSS 3 Score Details (5.3)
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: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Release Date: 2023-07-05
Fix Resolution: org.bouncycastle:bcprov-ext-jdk18on:1.74, org.bouncycastle:bcprov-jdk18on:1.74, org.bouncycastle:bcprov-debug-jdk18on:1.74, org.bouncycastle:bcprov-ext-debug-jdk18on:1.74, org.bouncycastle:bcprov-ext-jdk15to18:1.74, org.bouncycastle:bcprov-jdk15to18:1.74, org.bouncycastle:bcprov-debug-jdk14:1.74, org.bouncycastle:bcprov-debug-jdk15to18:1.74, org.bouncycastle:bcprov-ext-debug-jdk14:1.74, org.bouncycastle:bcprov-ext-debug-jdk15to18:1.74, org.bouncycastle:bcprov-jdk14:1.74
Step up your Open Source Security Game with Mend here
CVE-2023-2585
Vulnerable Library - keycloak-server-spi-private-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-server-spi-private/21.0.2/keycloak-server-spi-private-21.0.2.jar
Dependency Hierarchy:
- quarkus-keycloak-authorization-3.2.2.Final.jar (Root Library)
- keycloak-adapter-core-21.0.2.jar
- keycloak-crypto-default-21.0.2.jar
- ❌ keycloak-server-spi-private-21.0.2.jar (Vulnerable Library)
- keycloak-crypto-default-21.0.2.jar
- keycloak-adapter-core-21.0.2.jar
Found in HEAD commit: cf353461b9e15c9e8d45b6ec0175b6955b0f534e
Found in base branch: main
Vulnerability Details
Client Spoofing within the Keycloak Device Authorisation Grant
Publish Date: 2023-05-09
URL: CVE-2023-2585
CVSS 3 Score Details (4.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-f5h4-wmp5-xhg6
Release Date: 2023-05-09
Fix Resolution: org.keycloak:keycloak-services:21.1.2;org.keycloak:keycloak-client-registration-cli:21.1.2;org.keycloak:keycloak-admin-cli:21.1.2;org.keycloak:keycloak-server-spi-private: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.