VDB

CVE-2022-29222

CVE-2022-29222 PUBLISHED CVSS 5.9 MEDIUM

Improper Certificate Validation in Pion DTLS

Reported by github_m · Published May 21, 2022

github.com/pion/dtls/v2 is fixed in 2.1.5 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/pion/dtls/v2Go Modules2.1.5
github.com/pion/dtlsGo Modulesv2.1.5, 2.1.5
dtlspion2.1.5

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected products

VendorProductVersions
piondtls< 2.1.5
github.compion/dtls0
piondtls0
github.compion/dtls/v20

Timeline

  • May 21, 2022 EPSS Score (30 in total, the first dated here)
  • May 21, 2022 CVE Published
  • Mar 17, 2026 Security Advisory
  • Jun 27, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-29222
vulnetix vdb fixes CVE-2022-29222

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-29222/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›