Vulnerability · Published May 21, 2022 · Assigned by GitHub_M

CVE-2022-29222Improper Certificate Validation in Pion DTLS

Medium 5.9

In plain English

A medium-severity improper certificate validation in dtls from pion. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.8%top 42.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Pion DTLS is a Go implementation of Datagram Transport Layer Security. Prior to version 2.1.5, 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 version 2.1.5. Users should upgrade to version 2.1.5 to receive a patch. There are currently no known workarounds.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12snowflake2.2.0-1DEBIAN-CVE-2022-29222
Debian:13snowflake2.2.0-1DEBIAN-CVE-2022-29222
Debian:14snowflake2.2.0-1DEBIAN-CVE-2022-29222
Gogithub.com/pion/dtls2.1.5GHSA-w45j-f832-hxvh
Gogithub.com/pion/dtls/v22.1.5GO-2022-0462
Gogithub.com/pion/dtls/v22.1.5GHSA-w45j-f832-hxvh

Affected products (as reported)

VendorProductVersions
pion dtls < 2.1.5

Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

References