CVE-2021-28681: Pion WebRTC before 3.0.15 didn't properly tear down the DTLS Connection when certificate verification failed
CVE-2021-28681 is a medium-severity flaw (CVSS 5.3) affecting webrtc. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.)
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.7% (top 48%) |
| CISA exploited list | No |
| Weakness | CWE-863 |
| Published | 2021-03-18 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-28681?
webrtc: upgrade to 3.0.15. Exact commands for each OS are on this page.
Is CVE-2021-28681 being exploited?
CVE-2021-28681 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-28681 affect?
CVE-2021-28681 affects webrtc. Severity is medium (CVSS 5.3). 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 implemen
How urgent is CVE-2021-28681?
Priority 42/100. Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2016-1976 MEDIUM 5.5 UPGRADE MITIGATE Use-after-free vulnerability in the DesktopDisplayDevice class in the WebRTC implementation in Mozilla Firefox
- CVE-2016-1975 MEDIUM 6.3 MITIGATE UPGRADE Multiple race conditions in dom/media/systemservices/CamerasChild.cpp in the WebRTC implementation in Mozilla