{"id":"GHSA-74xm-qj29-cq8p","summary":"In github.com/pion/webrtc, failed DTLS certificate verification doesn't stop data channel communication","details":"### Impact\nData channel communication was incorrectly allowed with users who have failed DTLS certificate verification.\n\nThis attack requires \n* Attacker knows the ICE password. \n* Only take place during PeerConnection handshake.\n\nThis attack can be detected by monitoring `PeerConnectionState` in all versions of Pion WebRTC.\n\n### Patches\nUsers should upgrade to v3.0.15. \n\nThe exact patch is https://github.com/pion/webrtc/commit/545613dcdeb5dedb01cce94175f40bcbe045df2e\n\n### Workarounds\nUsers should listen for when `PeerConnectionState` changes to `PeerConnectionStateFailed`. When it enters this state users should not continue using the PeerConnection.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/pion/webrtc\n* Email us at [team@pion.ly](mailto:team@pion.ly)\n\nThank you to https://github.com/Gaukas for discovering this.","aliases":["CVE-2021-28681","GO-2021-0104"],"modified":"2026-05-07T05:00:19.583285120Z","published":"2021-05-25T18:42:42Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-863"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-05-21T21:29:41Z"},"references":[{"type":"WEB","url":"https://github.com/pion/webrtc/security/advisories/GHSA-74xm-qj29-cq8p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28681"},{"type":"WEB","url":"https://github.com/pion/webrtc/issues/1708"},{"type":"WEB","url":"https://github.com/pion/webrtc/pull/1709"},{"type":"WEB","url":"https://github.com/pion/webrtc/commit/545613dcdeb5dedb01cce94175f40bcbe045df2e"},{"type":"PACKAGE","url":"https://github.com/pion/webrtc"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0104"}],"affected":[{"package":{"name":"github.com/pion/webrtc/v3","ecosystem":"Go","purl":"pkg:golang/github.com/pion/webrtc/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.15"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-74xm-qj29-cq8p/GHSA-74xm-qj29-cq8p.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}