CVE-2022-29189: Buffer for inbound DTLS fragments has no limit
Impact 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 times out. An attacker could exploit this to cause excessive memory usage.
Patches Upgrade to Pion DTLS v2.1.4
Workarounds No workarounds available, upgrade to Pion DTLS v2.1.4
References Thank you to Juho Nurminen and the Mattermost team for discovering and reporting this.
For more information If you have any questions or comments about this advisory: Open an issue in Pion DTLS Email us at team@pion.ly
Other sources
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/github.com/pion/dtls/v2to a version that resolves this vulnerability.Fixed in 2.1.4 - Upgrade
Upgrade
go/github.com/pion/dtlsto a version that resolves this vulnerability.Fixed in 2.1.4 - Upgrade
Upgrade
debian/snowflaketo a version that resolves this vulnerability.Fixed in 2.2.0-1 - Upgrade
Upgrade
ubuntu/snowflaketo a version that resolves this vulnerability.Fixed in 1.1.0-2ubuntu0.1+esm2 - Upgrade
Upgrade
ubuntu/telegrafto a version that resolves this vulnerability.Fixed in 1.21.4+ds1-0ubuntu2+esm2 - Upgrade
Upgrade
Pion DTLSto a version that resolves this vulnerability.Fixed in 2.1.4
Event History
Frequently Asked Questions
What is the severity of CVE-2022-29189?
CVE-2022-29189 is considered a high severity vulnerability due to the potential for excessive memory usage caused by uncontrolled inbound DTLS fragment buffering.
How do I fix CVE-2022-29189?
To fix CVE-2022-29189, upgrade Pion DTLS to version 2.1.4 or later.
What type of vulnerability is CVE-2022-29189?
CVE-2022-29189 is a buffer overflow vulnerability related to the handling of DTLS fragments.
What software is affected by CVE-2022-29189?
CVE-2022-29189 affects Pion DTLS versions prior to 2.1.4.
What are the potential impacts of CVE-2022-29189?
The potential impacts of CVE-2022-29189 include denial of service due to excessive memory consumption.