What’s Vulnerable › Vulnerabilities
CVE-2021-28681
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-03-18 · updated 2026-06-17
- Weakness: CWE-863
Description
Pion WebRTC before 3.0.15 didn't properly tear down the DTLS Connection when certificate verification failed. The PeerConnectionState was set to failed, but a user could ignore that and continue to use the PeerConnection. )A WebRTC implementation shouldn't allow the user to continue if verification has failed.)
Affected products
- Webrtc Project Webrtc: before 3.0.15 — fixed in 3.0.15
How to fix
Upgrade to a fixed version: Webrtc Project Webrtc 3.0.15. Check the vendor advisory for mitigations.
References
- https://github.com/pion/webrtc/issues/1708
- https://github.com/pion/webrtc/security/advisories/GHSA-74xm-qj29-cq8p
- https://github.com/pion/webrtc/issues/1708
- https://github.com/pion/webrtc/security/advisories/GHSA-74xm-qj29-cq8p
Get alerted when CVE-2021-28681 or the next vulnerability affects your stack