Pion DTLS: Oversized peer RSA keys allow excessive CPU consumption during DTLS handshakes
No exploitation in the wild has been reported. No fixed version is recorded.
Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.0.0 until 3.1.13, peer certificates were parsed and their RSA public keys were passed to handshake signature and certificate-chain verification without an explicit modulus-size limit. A remote peer can provide a certificate with an unusually large attacker-chosen RSA modulus and an invalid signature; no corresponding private key or valid handshake signature is required to trigger the expensive operation. An RSA verification path must execute. A local ECDSA certificate does not prevent the peer from presenting an RSA certificate, and WebRTC deployments can be affected. Repeated or concurrent malicious handshakes can consume substantial CPU resources, delay legitimate connections, and reduce service availability. The issue is fixed in version 3.1.13.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| pion | >=2.0.0 <=2.2.12, >=3.0.0 <3.1.13 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket