Improper Certificate Validation in Pion DTLS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-295.
Summary
Pion DTLS is a Go implementation of Datagram Transport Layer Security. Prior to version 2.1.5, a DTLS Client could provide a Certificate that it doesn't posses the private key for and Pion DTLS wouldn't reject it. This issue affects users that are using Client certificates only. The connection itself is still secure. The Certificate provided by clients can't be trusted when using a Pion DTLS server prior to version 2.1.5. Users should upgrade to version 2.1.5 to receive a patch. There are currently no known workarounds.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pion | dtls | before 2.1.5 | 2.1.5 | Patch available | CNA |
| — | github.com/pion/dtls (Go) | before 2.1.5 | 2.1.5 | Patch available | GHSA-w45j-f832-hxvh |
| — | github.com/pion/dtls/v2 (Go) | before 2.1.5 | 2.1.5 | Patch available | GHSA-w45j-f832-hxvh |
- dtls Vendorpion Affected before 2.1.5 Fixed in 2.1.5 Patch available CNA
- github.com/pion/dtls (Go) Vendor— Affected before 2.1.5 Fixed in 2.1.5 Patch available GHSA-w45j-f832-hxvh
- github.com/pion/dtls/v2 (Go) Vendor— Affected before 2.1.5 Fixed in 2.1.5 Patch available GHSA-w45j-f832-hxvh
Remediation
- Fix · CNA dtls (pion) Fixed in 2.1.5
- Fix · GHSA-w45j-f832-hxvh github.com/pion/dtls (Go) Fixed in 2.1.5 Advisory →
- Fix · GHSA-w45j-f832-hxvh github.com/pion/dtls/v2 (Go) Fixed in 2.1.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-29222
- 2026-10-03 Alias added: GHSA-w45j-f832-hxvh
References
More pion Dtls vulnerabilities
- TI-2019-15006 handleIncomingPacket in conn.go in Pion DTLS before 1.5.2 lacks a check for application… CVSS 3.1CRITICAL 9.8
- TI-2022-11733 Header reconstruction method can be thrown into an infinite loop in Pion DTLS CVSS 3.1HIGH 7.5
- TI-2022-11732 Buffer for inbound DTLS fragments has no limit CVSS 3.1MEDIUM 5.3
- TI-2026-21028 Pion DTLS uses random nonce generation with AES GCM ciphers risks leaking the authentication key CVSS 3.1MEDIUM 5.9
Sources
- CVE-2022-29222 · CVE Program
- CVE-2022-29222 · NVD
- FIRST EPSS
- GHSA-w45j-f832-hxvh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences