bctls-jdk15on is vulnerable to Denial of Service (DoS)
69
Medium Risk
The DTLS handshake reassembler sizes each reassembly buffer from the full-message length declared in a handshake fragment header, a 24-bit value up to about 16 MiB, without bounding it against the peer's configured maximum handshake message size. Reassemblers are created per message sequence across the receive-ahead window at epoch zero, before any signature or Finished verification. A few small datagrams carrying minimal fragments with large declared lengths therefore commit large amounts of heap per peer, causing a pre-authentication denial of service. The fix bounds the reassembly allocation by the peer's maximum handshake message size before allocating.
You are affected if you are using a version that falls within the vulnerable range and you use the Bouncy Castle DTLS client or server to process handshakes from untrusted network peers.
bctls-jdk15on is vulnerable to Denial of Service (DoS) in versions 1.57 - 1.70.
Migrate the org.bouncycastle:bctls-jdk15on dependency to org.bouncycastle:bctls-jdk18on 1.85 or later, or to org.bouncycastle:bctls-jdk15to18 1.85 or later if you cannot move to Java 8, as the jdk15on coordinates receive no security fixes.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant