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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.42% (87th 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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • 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 Scores

version 3.1