{"id":"CVE-2019-20786","aliases":["EUVD-2021-1278","GHSA-7gfg-6934-mqq2","GO-2020-0038"],"status":"published","title":"Improper Authenication in Pion DTLS","description":"handleIncomingPacket in conn.go in Pion DTLS before 1.5.2 lacks a check for application data with epoch 0, which allows remote attackers to inject arbitrary unencrypted data after handshake completion.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03012,"percentile":0.87502,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-287"],"published":"2020-04-19T19:57:36Z","modified":"2026-10-20T10:50:57Z","fixes":[{"ecosystem":"Go","package":"github.com/pion/dtls","fixed_in":["1.5.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/pion/dtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/pion/dtls","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/pion/dtls","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.2"}]}]}],"products":[{"vendor":"pion","product":"dtls"}],"references":[{"url":"https://www.usenix.org/system/files/sec20fall_fiterau-brostean_prepub.pdf","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://www.usenix.org/conference/usenixsecurity20/presentation/fiterau-brostean","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/pion/dtls/commit/fd73a5df2ff0e1fb6ae6a51e2777d7a16cc4f4e0","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/pion/dtls/compare/v1.5.1...v1.5.2","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20786","tags":["advisory"]},{"url":"https://github.com/pion/dtls/pull/128","tags":["web","fix"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0038","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7gfg-6934-mqq2"},{"url":"https://github.com/pion/dtls","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-20786","description":"handleIncomingPacket in conn.go in Pion DTLS before 1.5.2 lacks a check for application data with epoch 0, which allows remote attackers to inject arbitrary unencrypted data after handshake completion.","status":"published","published":"2020-04-19T19:57:36Z","modified":"2024-08-05T02:53:09.233Z","updated_at":"2026-11-02T14:20:17.11067Z"}],"euvd":[{"id":"EUVD-2021-1278","description":"handleIncomingPacket in conn.go in Pion DTLS before 1.5.2 lacks a check for application data with epoch 0, which allows remote attackers to inject arbitrary unencrypted data after handshake completion.","status":"published","published":"2020-04-19T19:57:36Z","modified":"2024-08-05T02:53:09Z","updated_at":"2026-11-03T02:40:20.270172Z"}],"ghsa":[{"id":"GHSA-7gfg-6934-mqq2","title":"Improper Authenication in Pion DTLS","description":"handleIncomingPacket in conn.go in Pion DTLS before 1.5.2 lacks a check for application data with epoch 0, which allows remote attackers to inject arbitrary unencrypted data after handshake completion.","status":"published","published":"2021-06-29T21:34:57Z","modified":"2023-02-14T00:18:07Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:36:44.81167Z"}],"nvd":[{"id":"CVE-2019-20786","description":"handleIncomingPacket in conn.go in Pion DTLS before 1.5.2 lacks a check for application data with epoch 0, which allows remote attackers to inject arbitrary unencrypted data after handshake completion.","status":"published","published":"2020-04-19T20:15:11.587Z","modified":"2026-06-17T02:31:11.583Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:05:46.451008Z"}],"osv":[{"id":"CVE-2019-20786","description":"handleIncomingPacket in conn.go in Pion DTLS before 1.5.2 lacks a check for application data with epoch 0, which allows remote attackers to inject arbitrary unencrypted data after handshake completion.","status":"published","published":"2020-04-19T20:15:11.587Z","modified":"2026-10-20T10:50:57.266304905Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:12.010761Z"},{"id":"GHSA-7gfg-6934-mqq2","title":"Improper Authenication in Pion DTLS","description":"handleIncomingPacket in conn.go in Pion DTLS before 1.5.2 lacks a check for application data with epoch 0, which allows remote attackers to inject arbitrary unencrypted data after handshake completion.","status":"published","published":"2021-06-29T21:34:57Z","modified":"2023-11-08T04:01:31.054282Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T15:46:41.002603Z"},{"id":"GO-2020-0038","title":"Improper authentication in github.com/pion/dtls","description":"Due to improper verification of packets, unencrypted packets containing application data are accepted after the initial handshake. This allows an attacker to inject arbitrary data which the client/server believes was encrypted, despite not knowing the session key.","status":"published","published":"2021-04-14T20:04:52Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
