GHSA-74xm-qj29-cq8p

Suggest an improvement
Source
https://github.com/advisories/GHSA-74xm-qj29-cq8p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-74xm-qj29-cq8p/GHSA-74xm-qj29-cq8p.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-74xm-qj29-cq8p
Aliases
Published
2021-05-25T18:42:42Z
Modified
2024-05-20T19:56:37Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
In github.com/pion/webrtc, failed DTLS certificate verification doesn't stop data channel communication
Details

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 team@pion.ly

Thank you to https://github.com/Gaukas for discovering this.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-863"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-21T21:29:41Z"
}
References

Affected packages

Go / github.com/pion/webrtc/v3

Package

Name
github.com/pion/webrtc/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/webrtc/v3

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.15