Skip to content
Fencer Intel
medium 5.9

CVE-2022-29222 json

Improper Certificate Validation in Pion DTLS

published 4y ago modified 4mo ago also GHSA-w45j-f832-hxvh , GO-2022-0462 , EUVD-2022-5491

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 57%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/pion/dtls 2.1.5
  • go github.com/pion/dtls/v2 2.1.5
  • pion dtls 2.1.5
  • snowflake Debian 14, Debian 13, Debian 12 2.2.0-1

debian advisories DEBIAN-CVE-2022-29222

  • telegraf Ubuntu Pro 22.04 LTS 1.21.4+ds1-0ubuntu2+esm2
  • snowflake Ubuntu Pro 22.04 LTS 1.1.0-2ubuntu0.1+esm2

ubuntu advisories UBUNTU-CVE-2022-29222

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2022-29222 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.83% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
go github.com/pion/dtls
<2.1.5
2.1.5
go github.com/pion/dtls/v2
<2.1.5
2.1.5

Affected products

  • pion dtls

Classification

Weakness
  • CWE-295 Improper Certificate Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.