1
0
mirror of https://github.com/keycloak/keycloak.git synced 2026-10-23 19:29:23 +03:00

Fix CVEs inherited from ApacheDS/Kerby dependencies (#51899)

- bump kerby from 2.1.0 to 2.1.2
- bump mina-core to 2.2.9 (fixes CVE-2026-47065)
- add BouncyCastle wildcard exclusion on the ldap-backend dependency to eliminate the transitive bcprov-jdk15on:1.70 pull (fixes CVE-2023-33201, CVE-2024-29857, CVE-2024-30171,CVE-2024-34447)

Closes #51785

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
This commit is contained in:
Stefan Guilhen
2026-08-21 02:59:36 -03:00
committed by GitHub
parent ea77b6f20b
commit d7c392f106
4 changed files with 19 additions and 7 deletions

View File

@@ -126,7 +126,7 @@
<!-- Others -->
<apacheds.version>2.0.0.AM27</apacheds.version>
<apacheds.codec.version>2.1.8</apacheds.codec.version>
<kerby.version>2.1.0</kerby.version>
<kerby.version>2.1.2</kerby.version>
<google.zxing.version>3.4.0</google.zxing.version>
<freemarker.version>2.3.32</freemarker.version>
<sundrio.version>0.200.0</sundrio.version>
@@ -715,6 +715,12 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Override mina-core version from api-parent BOM to fix CVE-2026-47065 -->
<dependency>
<groupId>org.apache.mina</groupId>
<artifactId>mina-core</artifactId>
<version>2.2.9</version>
</dependency>
<dependency>
<groupId>org.apache.jmeter</groupId>
<artifactId>ApacheJMeter_java</artifactId>

View File

@@ -61,12 +61,6 @@
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-util-embedded-ldap</artifactId>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>

View File

@@ -242,6 +242,12 @@
<groupId>org.apache.kerby</groupId>
<artifactId>ldap-backend</artifactId>
<version>${kerby.version}</version>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>

View File

@@ -88,6 +88,12 @@
<groupId>org.apache.kerby</groupId>
<artifactId>ldap-backend</artifactId>
<version>${kerby.version}</version>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.directory.server</groupId>