Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/pion/dtls/v2
  4. ›
  5. CVE-2022-29189

CVE-2022-29189: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

May 24, 2022 (updated February 15, 2023)

Pion DTLS is a Go implementation of Datagram Transport Layer Security. Prior to version 2.1.4, a buffer that was used for inbound network traffic had no upper limit. Pion DTLS would buffer all network traffic from the remote user until the handshake completes or timed out. An attacker could exploit this to cause excessive memory usage. Version 2.1.4 contains a patch for this issue. There are currently no known workarounds available.

References

  • github.com/advisories/GHSA-cx94-mrg9-rq4j
  • github.com/pion/dtls/commit/a6397ff7282bc56dc37a68ea9211702edb4de1de
  • github.com/pion/dtls/releases/tag/v2.1.4
  • github.com/pion/dtls/security/advisories/GHSA-cx94-mrg9-rq4j
  • nvd.nist.gov/vuln/detail/CVE-2022-29189
  • pkg.go.dev/vuln/GO-2022-0461

Code Behaviors & Features

Detect and mitigate CVE-2022-29189 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 2.1.4

Fixed versions

  • v2.1.4

Solution

Upgrade to version 2.1.4 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Source file

go/github.com/pion/dtls/v2/CVE-2022-29189.yml

Spotted a mistake? Edit the file on GitLab.

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

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