Live threats

All CVEs / Pion

CVE-2022-29222Pion Dtls

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.7%
probability of exploitation in 30 days · percentile 51
Auth required
No
Published
May 21, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dtls.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/pion/dtls < 2.1.5 2.1.5 go get github.com/pion/dtls@v2.1.5
Go github.com/pion/dtls/v2 < 2.1.5 2.1.5 go get github.com/pion/dtls/v2@v2.1.5
Go github.com/pion/dtls/v2 < 2.1.5 2.1.5 go get github.com/pion/dtls/v2@v2.1.5

Per OSV / GitHub Advisories (GHSA-w45j-f832-hxvh, GO-2022-0462). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
piondtls< 2.1.5

Official sources

References

Links published by the sources. Open them with care.