VDB
Sign up
—

GO-2022-0462

Improper validation of client certificates in github.com/pion/dtls/v2

Quick fix

GO-2022-0462 — github.com/pion/dtls/v2: upgrade to the fixed version with the command below.

go get github.com/pion/dtls/v2@v2.1.5

Details

Client-provided certificates are not correctly validated, and must not be trusted.

DTLS client certificates must be accompanied by proof that the client possesses the private key for the certificate. The Pion DTLS server accepted client certificates unaccompanied by this proof, permitting an attacker to present any certificate and have it accepted as valid.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/pion/dtls/v2
Introduced in: 0Fixed in: 2.1.5
Fixgo get github.com/pion/dtls/v2@v2.1.5

References