CVE-2022-29222: Improper Certificate Validation in Pion DTLS

Published May 21, 2022
·
Updated

Impact A DTLS Client could provide a Certificate that it doesn't posses the private key for and Pion DTLS wouldn't reject it.

This issue affects users that are using Client certificates only. The connection itself is still secure. The Certificate provided by clients can't be trusted when using a Pion DTLS server prior to v2.1.5

Patches Upgrade to Pion DTLS v2.1.5

Workarounds No workarounds available, upgrade to Pion DTLS v2.1.5

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.5, a DTLS Client could provide a Certificate that it doesn't posses the private key for and Pion DTLS wouldn't reject it. This issue affects users that are using Client certificates only. The connection itself is still secure. The Certificate provided by clients can't be trusted when using a Pion DTLS server prior to version 2.1.5. Users should upgrade to version 2.1.5 to receive a patch. There are currently no known workarounds.

Affected Software

7 affected componentsFixes available
go/github.com/pion/dtls/v2<2.1.5
2.1.5
go/github.com/pion/dtls<2.1.5
2.1.5
Pion DTLS<2.1.5
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

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.5
  2. Upgrade

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

    Fixed in 2.1.5
  3. Upgrade

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

    Fixed in 2.2.0-1
  4. Upgrade

    Upgrade Pion DTLS to a version that resolves this vulnerability.

    Fixed in 2.1.5

Event History

May 21, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·12:15 AM
DescriptionAffected Software
May 25, 2022
Advisory Published
07:26 PM
Aug 29, 2023
Advisory Published
11:28 PM
Nov 3, 2026
Data Sourced
via OSV·08:03 AM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2022-29222?

CVE-2022-29222 has a moderate severity level due to improper certificate validation allowing clients to present unauthorized certificates.

2

How do I fix CVE-2022-29222?

To fix CVE-2022-29222, upgrade to Pion DTLS version 2.1.5 or later.

3

Who is affected by CVE-2022-29222?

CVE-2022-29222 affects users utilizing client certificates in Pion DTLS implementations.

4

What impact does CVE-2022-29222 have on secure connections?

While the connection remains secure, CVE-2022-29222 allows acceptance of certificates that do not have the corresponding private keys.

5

What software is impacted by CVE-2022-29222?

CVE-2022-29222 affects all versions of Pion DTLS prior to version 2.1.5.

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