CVE-2021-28681
MEDIUM 5.3CVSS 3.1In github.com/pion/webrtc, failed DTLS certificate verification doesn't stop data channel communication
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.)
- Published
- 18 Mar 2021
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-863
- Also known as
- GHSA-74xm-qj29-cq8pGO-2021-0104
- Sources
- NVDJSONOSV GHSA-74xm-qj29-cq8pJSONOSV GO-2021-0104JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | webrtc_project | webrtccpe:2.3:a:webrtc_project:webrtc:*:*:*:*:*:*:*:* |
< 3.0.15 | 3.0.15 |
| OSV | Go | github.com/pion/webrtc/v3 | < 3.0.15 | 3.0.15 |
References
- https://github.com/pion/webrtc/issues/1708 · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/pion/webrtc/security/advisories/GHSA-74xm-qj29-cq8p · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-28681 · ADVISORY
- https://github.com/pion/webrtc/pull/1709 · WEB, FIX
- https://github.com/pion/webrtc/commit/545613dcdeb5dedb01cce94175f40bcbe045df2e · WEB, FIX
- https://github.com/pion/webrtc · PACKAGE
- https://pkg.go.dev/vuln/GO-2021-0104 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 18 Mar 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jul 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 May 2021)