github.com/pion/webrtc/v3
Affected
- introduced
0, fixed3.0.15(semver)
Fixed versions
3.0.15
Fix
- Fixed version
3.0.15go get github.com/pion/webrtc/[email protected]
Advisory
Also known as: CVE-2021-28681, GO-2021-0104
In github.com/pion/webrtc, failed DTLS certificate verification doesn't stop data channel communication
Impact
Data channel communication was incorrectly allowed with users who have failed DTLS certificate verification.
This attack requires
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:
Thank you to https://github.com/Gaukas for discovering this.
Medium Basis: The source's own band: MODERATE
0, fixed 3.0.15 (semver)3.0.15
3.0.15go get github.com/pion/webrtc/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0