Improper Certificate Validation Affecting github.com/pion/dtls/v2 package, versions <2.1.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMPIONDTLSV2-2841483
  • published22 May 2022
  • disclosed22 May 2022
  • creditJuho Nurminen and the Mattermost team

Introduced: 22 May 2022

CVE-2022-29222  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade github.com/pion/dtls/v2 to version 2.1.5 or higher.

Overview

github.com/pion/dtls/v2 is a DTLS 1.2 Server/Client implementation for Go.

Affected versions of this package are vulnerable to Improper Certificate Validation where a DTLS Client can provide a certificate that doesn't possess a private key without being rejected.

Note: This issue affects users that are using Client certificates only. The connection itself is still secure.

CVSS Scores

version 3.1