CVE-2022-29189Pion Dtls
Medium 5.3 No auth needed
Follow: this CVE · Pion · Pion Dtls We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- May 21, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-120
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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
- Apply the vendor's security update for Dtls.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/pion/dtls |
< 2.1.4 |
2.1.4 |
go get github.com/pion/dtls@v2.1.4 |
| Go | github.com/pion/dtls/v2 |
< 2.1.4 |
2.1.4 |
go get github.com/pion/dtls/v2@v2.1.4 |
| Go | github.com/pion/dtls/v2 |
< 2.1.4 |
2.1.4 |
go get github.com/pion/dtls/v2@v2.1.4 |
Per OSV / GitHub Advisories (GHSA-cx94-mrg9-rq4j, GO-2022-0461). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pion | dtls | < 2.1.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory