GitHub Advisory Database
GHSA-qq3j-44gw-cf6r
Eclipse Californium denial of service (DoS) via Datagram Transport Layer Security (DTLS) handshake on parameter mismatch
Details
In Eclipse Californium versions 2.0.0 to 2.7.2 and 3.0.0-3.5.0 a DTLS resumption handshake falls back to a DTLS full handshake on a parameter mismatch without using a HelloVerifyRequest. Especially, if used with certificate based cipher suites, that results in message amplification (DDoS other peers) and high CPU load (DoS own peer). The misbehavior occurs only with DTLS_VERIFY_PEERS_ON_RESUMPTION_THRESHOLD values larger than 0.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.eclipse.californium:californium-core | From 2.0.0 before 2.7.3 (fixed in 2.7.3) |
| Maven | org.eclipse.californium:californium-core | From 3.0.0 before 3.6.0 (fixed in 3.6.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-2576
- https://github.com/eclipse-californium/californium/pull/2039
- https://github.com/eclipse-californium/californium/commit/0cc953a1dc071efc960130e229fcb4f8bda7f9df
- https://github.com/eclipse-californium/californium/commit/8373db84b2d07f22c39ffc333ab881dba9401722
- https://bugs.eclipse.org/580018
- https://github.com/eclipse/californium