CVE-2022-29222: Improper Certificate Validation in Pion DTLS
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
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.5 - Upgrade
Upgrade
go/github.com/pion/dtlsto a version that resolves this vulnerability.Fixed in 2.1.5 - Upgrade
Upgrade
debian/snowflaketo a version that resolves this vulnerability.Fixed in 2.2.0-1 - Upgrade
Upgrade
Pion DTLSto a version that resolves this vulnerability.Fixed in 2.1.5
Event History
Frequently Asked Questions
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.
How do I fix CVE-2022-29222?
To fix CVE-2022-29222, upgrade to Pion DTLS version 2.1.5 or later.
Who is affected by CVE-2022-29222?
CVE-2022-29222 affects users utilizing client certificates in Pion DTLS implementations.
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.
What software is impacted by CVE-2022-29222?
CVE-2022-29222 affects all versions of Pion DTLS prior to version 2.1.5.