Skip to content
OpenAdvisories
Medium · 5.9 CVE-2022-29222 EUVD-2022-5491GHSA-w45j-f832-hxvhGO-2022-0462

Improper Certificate Validation in Pion DTLS

Published May 21, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
pion dtls < 2.1.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 snowflake 2.2.0-1 —
Debian 13 snowflake 2.2.0-1 —
Debian 12 snowflake 2.2.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS snowflake 1.1.0-2ubuntu0.1+esm2 USN-7966-1
Ubuntu Pro 22.04 LTS telegraf 1.21.4+ds1-0ubuntu2+esm2 USN-7966-2

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/pion/dtls < 2.1.5 2.1.5 GHSA-w45j-f832-hxvh
Go github.com/pion/dtls/v2 < 2.1.5 2.1.5 GHSA-w45j-f832-hxvh

Advisories 2

References