NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-34447: Bouncy Castle Java Cryptography API vulnerable to DNS poisoning

mediumCVSS 3.1 5.9GHSA-4h8f-2wvx-gg5w

An issue was discovered in the Bouncy Castle Crypto Package For Java before BC TLS Java 1.0.19 (ships with BC Java 1.78, BC Java (LTS) 2.73.6) and before BC FIPS TLS Java 1.0.19. When endpoint identification is enabled in the BCJSSE and an SSL socket is created without an explicit hostname (as happens with HttpsURLConnection), hostname verification could be performed against a DNS-resolved IP address in some…

Published May 3, 2024 · Updated Apr 17, 2026

Affected packages

org.bouncycastle:bcprov-jdk18on

Ecosystem
Maven
Affected
>= 1.61, < 1.78
Fixed in
1.78
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk18on

org.bouncycastle:bcprov-jdk15to18

Ecosystem
Maven
Affected
>= 1.61, < 1.78
Fixed in
1.78
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk15to18

org.bouncycastle:bcprov-jdk14

Ecosystem
Maven
Affected
>= 1.61, < 1.78
Fixed in
1.78
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk14

org.bouncycastle:bcprov-jdk12

Ecosystem
Maven
Affected
>= 1.61, < 1.78
Fixed in
1.78
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk12

org.bouncycastle:bctls-fips

Ecosystem
Maven
Affected
< 1.0.19
Fixed in
1.0.19
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bctls-fips

org.bouncycastle:bcprov-lts8on

Ecosystem
Maven
Affected
< 2.73.6
Fixed in
2.73.6
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-lts8on

org.bouncycastle:bcprov-jdk15on

Ecosystem
Maven
Affected
>= 1.61, < 1.78
Fixed in
1.78
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk15on

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

An issue was discovered in the Bouncy Castle Crypto Package For Java before BC TLS Java 1.0.19 (ships with BC Java 1.78, BC Java (LTS) 2.73.6) and before BC FIPS TLS Java 1.0.19. When endpoint identification is enabled in the BCJSSE and an SSL socket is created without an explicit hostname (as happens with HttpsURLConnection), hostname verification could be performed against a DNS-resolved IP address in some situations, opening up a possibility of DNS poisoning.

Credited to samueloph, binary-1024, hmolsen, kmoens.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries