Out-of-bounds Read Affecting github.com/pion/dtls/v2 package, versions <2.2.4


Severity

Recommended
0.0
medium
0
10

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

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-3314998
  • published8 Feb 2023
  • disclosed7 Feb 2023
  • creditSam Lancia

Introduced: 7 Feb 2023

CVE NOT AVAILABLE CWE-125  (opens in a new tab)

How to fix?

Upgrade github.com/pion/dtls/v2 to version 2.2.4 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 Out-of-bounds Read in message_server_hello.go, which could cause a crash when attempting to unmarshal a Server Hello request.

References

CVSS Scores

version 3.1