# CVE-2022-29222: Improper Certificate Validation in Pion DTLS

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2022-05-21T00:00:15.000Z
- Modified: 2026-06-17T04:39:51.763Z
- Also known as: GHSA-w45j-f832-hxvh, GO-2022-0462
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- pion dtls: < 2.1.5; before 2.1.5
- github.com/pion/dtls (Go): before 2.1.5
- github.com/pion/dtls/v2 (Go): before 2.1.5

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/pion/dtls/security/advisories/GHSA-w45j-f832-hxvh> (third-party-advisory, web)
- <https://github.com/pion/dtls/commit/d2f797183a9f044ce976e6df6f362662ca722412> (fix, patch, third-party-advisory, web)
- <https://github.com/pion/dtls/releases/tag/v2.1.5> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29222> (advisory)
- <https://pkg.go.dev/vuln/GO-2022-0462> (web)

## Sources

- CVE List: [CVE-2022-29222](https://www.cve.org/CVERecord?id=CVE-2022-29222), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-w45j-f832-hxvh](https://github.com/advisories/GHSA-w45j-f832-hxvh), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2022-0462](https://pkg.go.dev/vuln/GO-2022-0462), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-29222](https://nvd.nist.gov/vuln/detail/CVE-2022-29222), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29222 · Whole record: https://cve.day/CVE-2022-29222.json · Rebuilt by cve.day 2026-11-25T22:58:11.885Z
