Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/pion/dtls/v2
  4. ›
  5. GMS-2023-305

GMS-2023-305: Out-of-bounds Read

February 7, 2023 (updated June 13, 2023)

When attempting to unmarshal a Server Hello request we could attempt to unmarshal into a buffer that was too small. This could result in a panic leading the program to crash. This issue could be abused to cause a denial of service.

References

  • github.com/advisories/GHSA-hxp2-xqf3-v83h
  • github.com/pion/dtls/commit/7a14903448b70069fd9e02adf210ca23083c56d2
  • github.com/pion/dtls/security/advisories/GHSA-hxp2-xqf3-v83h
  • pkg.go.dev/vuln/GO-2023-1535

Code Behaviors & Features

Detect and mitigate GMS-2023-305 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.2.4

Fixed versions

  • v2.2.4

Solution

Upgrade to version 2.2.4 or above.

Source file

go/github.com/pion/dtls/v2/GMS-2023-305.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:15 +0000.