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

Published May 20, 2022
·
Updated

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

9 affected componentsFixes available
go/github.com/pion/dtls/v2<2.1.4
2.1.4
go/github.com/pion/dtls<2.1.4
2.1.4
Pion DTLS<2.1.4
debian/snowflake<2.2.0-1
2.2.0-1
debian/snowflake<2.2.0-1
2.2.0-1
debian/snowflake<2.2.0-1
2.2.0-1
debian/snowflake
2.2.0-1
ubuntu/snowflake<1.1.0-2ubuntu0.1+esm2
1.1.0-2ubuntu0.1+esm2
ubuntu/telegraf<1.21.4+ds1-0ubuntu2+esm2
1.21.4+ds1-0ubuntu2+esm2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/pion/dtls/v2 to a version that resolves this vulnerability.

    Fixed in 2.1.4
  2. Upgrade

    Upgrade go/github.com/pion/dtls to a version that resolves this vulnerability.

    Fixed in 2.1.4
  3. Upgrade

    Upgrade debian/snowflake to a version that resolves this vulnerability.

    Fixed in 2.2.0-1
  4. Upgrade

    Upgrade ubuntu/snowflake to a version that resolves this vulnerability.

    Fixed in 1.1.0-2ubuntu0.1+esm2
  5. Upgrade

    Upgrade ubuntu/telegraf to a version that resolves this vulnerability.

    Fixed in 1.21.4+ds1-0ubuntu2+esm2
  6. Upgrade

    Upgrade Pion DTLS to a version that resolves this vulnerability.

    Fixed in 2.1.4

Event History

May 20, 2022
CVE Published
via MITRE·11:55 PM
Data Sourced
via MITRE·11:55 PM
DescriptionSeverityWeakness
May 21, 2022
Data Sourced
via OSV·12:15 AM
DescriptionSeverityAffected Software
Data Sourced
12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 24, 2022
Advisory Published
10:04 PM
Aug 29, 2023
Advisory Published
11:31 PM

Frequently Asked Questions

1

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.

2

How do I fix CVE-2022-29189?

To fix CVE-2022-29189, upgrade Pion DTLS to version 2.1.4 or later.

3

What type of vulnerability is CVE-2022-29189?

CVE-2022-29189 is a buffer overflow vulnerability related to the handling of DTLS fragments.

4

What software is affected by CVE-2022-29189?

CVE-2022-29189 affects Pion DTLS versions prior to 2.1.4.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203