Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/pion/webrtc/v3
  4. ›
  5. CVE-2021-28681

CVE-2021-28681: Incorrect Authorization

May 25, 2021

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.)

References

  • github.com/advisories/GHSA-74xm-qj29-cq8p
  • github.com/pion/webrtc/issues/1708
  • github.com/pion/webrtc/pull/1709
  • github.com/pion/webrtc/security/advisories/GHSA-74xm-qj29-cq8p
  • nvd.nist.gov/vuln/detail/CVE-2021-28681

Code Behaviors & Features

Detect and mitigate CVE-2021-28681 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.15

Fixed versions

  • 3.0.15

Solution

Upgrade to version 3.0.15 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/pion/webrtc/v3/CVE-2021-28681.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:49 +0000.