n/a · Vulnerability
cve-program · CVE-2021-28681
PublishedPion 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.)
Read the publisher's advisoryeuvd · EUVD-2021-0985
PublishedPion 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.)
Read the publisher's advisorynvd · CVE-2021-28681
PublishedPion 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.)
Read the publisher's advisoryosv · GHSA-74xm-qj29-cq8p
Published### Impact Data channel communication was incorrectly allowed with users who have failed DTLS certificate verification. This attack requires * Attacker knows the ICE password. * Only take place during PeerConnection handshake. This attack can be detected by monitoring `PeerConnectionState` in all versions of Pion WebRTC. ### Patches Users should upgrade to v3.0.15. The exact patch is https://github.com/pion/webrtc/commit/545613dcdeb5dedb01cce94175f40bcbe045df2e ### Workarounds Users should listen for when `PeerConnectionState` changes to `PeerConnectionStateFailed`. When it enters this state users should not continue using the PeerConnection. ### For more information If you have any questions or comments about this advisory: * Open an issue in https://github.com/pion/webrtc * Email us at [[email protected]](mailto:[email protected]) Thank you to https://github.com/Gaukas for discovering this.
Read the publisher's advisoryosv · GO-2021-0104
PublishedDue to improper error handling, DTLS connections were not killed when certificate verification failed, causing users who did not check the connection state to continue to use the connection. This could allow allow an attacker which holds the ICE password, but not a valid certificate, to bypass this restriction.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2021-28681 · CVE overview and exploitation status
cve-program · CVE-2021-28681
- https://github.com/pion/webrtc/issues/1708
- https://github.com/pion/webrtc/security/advisories/GHSA-74xm-qj29-cq8p
euvd · EUVD-2021-0985
- https://github.com/pion/webrtc/issues/1708
- https://github.com/pion/webrtc/security/advisories/GHSA-74xm-qj29-cq8p
nvd · CVE-2021-28681
- https://github.com/pion/webrtc/issues/1708
- https://github.com/pion/webrtc/security/advisories/GHSA-74xm-qj29-cq8p
osv · GHSA-74xm-qj29-cq8p
- https://github.com/pion/webrtc/security/advisories/GHSA-74xm-qj29-cq8p
- https://nvd.nist.gov/vuln/detail/CVE-2021-28681
- https://github.com/pion/webrtc/issues/1708
- https://github.com/pion/webrtc/pull/1709
- https://github.com/pion/webrtc/commit/545613dcdeb5dedb01cce94175f40bcbe045df2e
- https://github.com/pion/webrtc
- https://pkg.go.dev/vuln/GO-2021-0104
osv · GO-2021-0104
Related changes
Linked by CVE identifierNo related changes are available here.