CVE-2021-28681 json
In github.com/pion/webrtc, failed DTLS certificate verification doesn't stop data channel communication
published 2021-03-18 5 y ago modified 2026-07-08 4 mo ago also GHSA-74xm-qj29-cq8p , GO-2021-0104 , EUVD-2021-0985
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- go github.com/pion/webrtc/v3 3.0.15
- webrtc_project webrtc 3.0.15
- github.com/pion/webrtc@545613d commit
- github.com/pion/webrtc#1709 pull request
- github.com/pion/webrtc/issues/1708 advisory
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pion/webrtc/issues/1708 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/pion/webrtc/v3 | <3.0.15 |
3.0.15 |
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/pion/webrtc/issues/1708
web, exploit, patch, third-party-advisory
-
github.com
/pion/webrtc/pull/1709
web, patch
-
github.com
/pion/webrtc/commit/545613dcdeb5dedb01cce94175f40bcbe045df2e
web, patch
-
github.com
/pion/webrtc/security/advisories/GHSA-74xm-qj29-cq8p
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-28681
advisory
-
github.com
/pion/webrtc
package
-
pkg.go.dev
/vuln/GO-2021-0104
web
Sources
- CVE List CVE-2021-28681
- GitHub Advisory GHSA-74xm-qj29-cq8p
- NVD CVE-2021-28681
- OSV GO-2021-0104
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.