ADVISORIES

Go Vulnerability Database

GO-2022-0462

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

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/pion/dtls/v2
All versions before 2.1.5 (fixed in 2.1.5)

References