HIGH7.5
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.5Details
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
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/pion/dtls/v2"]}'