CVE-2022-29222
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/pion/dtls/v2 | Go Modules | 2.1.5 |
| github.com/pion/dtls | Go Modules | v2.1.5, 2.1.5 |
| dtls | pion | 2.1.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pion | dtls | < 2.1.5 |
| github.com | pion/dtls | 0 |
| pion | dtls | 0 |
| github.com | pion/dtls/v2 | 0 |
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
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2022-29222 advisory
- https://github.com/advisories/GHSA-w45j-f832-hxvh advisory
- https://pkg.go.dev/vuln/GO-2022-0462 url