CVE-2022-29222
Pion/DLTS Accepts Client Certificates Without CertificateVerify
Impact
### 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](https://github.com/jupenur) and the Mattermost team for discovering and reporting this. ### For more information If you have any questions or comments about this advisory: * Open an issue in [Pion DTLS](http://github.com/pion/dtls) * Email us at [team@pion.ly](mailto:team@pion.ly)
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/pion/dtls | < 2.1.5 | 2.1.5 |
| go | github.com/pion/dtls/v2 | < 2.1.5 | 2.1.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Pion | Dtls | before 2.1.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/pion/dtls/commit/d2f797183a9f044ce976e6df6f362662ca722412
- https://github.com/pion/dtls/releases/tag/v2.1.5
- https://github.com/pion/dtls/security/advisories/GHSA-w45j-f832-hxvh
- https://github.com/advisories/GHSA-w45j-f832-hxvh
- https://nvd.nist.gov/vuln/detail/CVE-2022-29222
- https://pkg.go.dev/vuln/GO-2022-0462