CVE-2021-28681Webrtc Project Webrtc
Medium 5.3 No auth needed
Follow: this CVE · Webrtc Project · Webrtc Project Webrtc We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Mar 18, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.)
What to do
- Apply the vendor's security update for Webrtc.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/pion/webrtc/v3 |
< 3.0.15 |
3.0.15 |
go get github.com/pion/webrtc/v3@v3.0.15 |
| Go | github.com/pion/webrtc/v3 |
< 3.0.15 |
3.0.15 |
go get github.com/pion/webrtc/v3@v3.0.15 |
Per OSV / GitHub Advisories (GHSA-74xm-qj29-cq8p, GO-2021-0104). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| webrtc_project | webrtc | < 3.0.15 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Patch Third Party Advisory
- github.com Third Party Advisory