Pion DTLS: Repeated client certificate verification allows 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 1.2.2 until 3.1.13, the server state machine did not distinguish successful processing of the client certificate flight from completion of the handshake, so later traffic could revisit the same cached Certificate, ClientKeyExchange, and CertificateVerify messages. A malicious client can withhold Finished and send additional handshake traffic. Depending on the configured authentication policy, repeated work can include certificate parsing, handshake signature verification, and certificate-chain verification. The vulnerable endpoint must act as the DTLS server. Pion WebRTC applications are affected when they operate in that role. Repeated or concurrent attempts can consume excessive 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 | >=1.2.2 <=1.5.4, >=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