ADVISORIES

GitHub Advisory Database

GHSA-w45j-f832-hxvh

Pion/DLTS Accepts Client Certificates Without CertificateVerify

Details

Impact

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 v2.1.5

Patches

Upgrade to Pion DTLS v2.1.5

Workarounds

No workarounds available, upgrade to Pion DTLS v2.1.5

References

Thank you to Juho Nurminen and the Mattermost team for discovering and reporting this.

For more information

If you have any questions or comments about this advisory:

Affected packages

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

References