bctls-jdk18on 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-jdk18on is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 1.84.0.
Upgrade the org.bouncycastle:bctls-jdk18on library to the patch version.
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