Advisory

GHSA-w45j-f832-hxvh

Also known as: CVE-2022-29222, GO-2022-0462

Summary

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:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-25 19:26 UTC
Modified
2023-11-08 04:09 UTC

Affected packages and fixes

github.com/pion/dtls

Go · All systems

Affected

  • introduced 0, fixed 2.1.5 (semver)

Fixed versions

2.1.5

Fix

github.com/pion/dtls/v2

Go · All systems

Affected

  • introduced 0, fixed 2.1.5 (semver)

Fixed versions

2.1.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences