CVE-2022-29222:
Pion/DLTS Accepts Client Certificates Without CertificateVerify
5.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.56357%
CWE
Published
5/25/2022
Updated
8/29/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/pion/dtls | go | < 2.1.5 | 2.1.5 |
github.com/pion/dtls/v2 | go | < 2.1.5 | 2.1.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper certificate validation
in the DTLS handshake process
. The flight4Parse
function in flight4handler.go
was modified in the patch to add a check (lines 92-95) that prevents cipher suite initialization without CertificateVerify
when client certificates are present. The associated test (flight4handler_test.go
) explicitly verifies this failure scenario. The affected package entry points (Client
, Server
, etc.) ultimately rely on this handshake processing logic, making flight4Parse
the core vulnerable function that failed to validate
certificate ownership proof.