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


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 1.31% (86th percentile)
Expand this section
NVD
9.8 critical

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 ID SNYK-GOLANG-GITHUBCOMPIONDTLS-567073
  • published 19 Apr 2020
  • disclosed 19 Apr 2020
  • credit Usenix

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.