Remote Code Execution (RCE) Affecting github.com/pion/dtls package, versions <1.5.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.94% (86th 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-GITHUBCOMPIONDTLS-567073
  • published19 Apr 2020
  • disclosed19 Apr 2020
  • creditUsenix

Introduced: 19 Apr 2020

CVE-2019-20786  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/pion/dtls to version 1.5.2 or higher.

Overview

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

Affected versions of this package are vulnerable to Remote Code Execution (RCE). handleIncomingPacket in conn.go lacks a check for application data with epoch 0, which allows remote attackers to inject arbitrary unencrypted data after handshake completion.

CVSS Base Scores

version 3.1