Skip to content
OpenAdvisories

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bouncycastle 1.77-1 —
Debian 13 bouncycastle 1.77-1 —
Debian 12 bouncycastle No fix yet —
Debian 10 bouncycastle 1.60-1+deb10u1 DLA-3514-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS bouncycastle 1.68-5ubuntu0.1~esm1 —
Ubuntu Pro 20.04 LTS bouncycastle 1.61-1ubuntu0.1~esm1 —
Ubuntu Pro 18.04 LTS bouncycastle 1.59-1ubuntu0.1~esm1 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS bouncycastle 1.51-4ubuntu1+esm1 —
ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.11-2.redhat_00001.1.el7sso RHSA-2023:7484, RHSA-2023:7483, RHSA-2023:7482
Red Hat JBoss EAP 7 eap7-activemq-artemis +15 2.16.0-15.redhat_00049.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-bouncycastle +5 1.76.0-4.redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-hal-console 3.3.19-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-hibernate +4 5.3.31-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-ironjacamar +8 1.5.15-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-marshalling +1 2.0.13-2.SP1_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-modules 1.12.2-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-server-migration +2 1.10.0-31.Final_redhat_00030.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-xnio-base 3.8.10-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-mod_cluster 1.4.5-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-netty +28 4.1.94-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-resteasy +18 3.15.8-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-undertow 2.2.26-1.SP1_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-wildfly +4 7.4.13-8.GA_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-wildfly-elytron +1 1.15.20-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-wildfly-java-jdk17 7.4.13-8.GA_redhat_00001.1.el8eap RHSA-2023:5486, RHSA-2023:5485
ReleasePackageFixed inAdvisory
SLES 15 SP5 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
SLES 15 SP4 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
SLES 15 SP3 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
SLES 15 SP2 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
SLES for SAP 15 SP2 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
SLE Real Time 15 SP3 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
SLE HPC 15 SP3 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
SLE HPC 15 SP2 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
SUSE Enterprise Storage 7.1 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
SUSE Enterprise Storage 7 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bouncycastle 1.74-1.1 openSUSE-SU-2024:13016-1
openSUSE Leap 15.5 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1
openSUSE Leap 15.4 bouncycastle 1.74-150200.3.21.1 SUSE-SU-2023:2843-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 bouncycastle +6 1.70-4.amzn2023.0.3 ALAS2023-2023-280

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling druid 37.0.0-r8 —
Wolfi rolling gradle-8 8.7.0-r1 —
Wolfi rolling gradle-stage0 No fix yet —
Wolfi rolling tez 0.10.4-r6 —

Affected packages

Advisories 36

References