# CVE-2019-20786: GO-2020-0038 - Improper authentication in github.com/pion/dtls

Source: https://junglewise.ai/threats/cve-2019-20786-improper-authenication-in-pion-dtls  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-14  
License: CC BY 4.0 with a link back

CVE-2019-20786 · Severity: low · CVSS 3.1 · Published 2021-04-14

Improper authentication in github.com/pion/dtls

Technologies: [github.com/pion/dtls (Go)](https://junglewise.ai/threats/technologies/github-com-pion-dtls). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2019-20786 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-20786 being exploited in the wild.

**How severe is CVE-2019-20786?** Low severity, with a CVSS score of 3.1, published 14 April 2021.

**Which products and versions are affected?** github.com/pion/dtls (Go) SEMVER:introduced=0,fixed=1.5.2.

**Is there a fix for CVE-2019-20786?** Yes. github.com/pion/dtls (Go): upgrade to 1.5.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-20786?** Check whether you run github.com/pion/dtls (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/pion/dtls (Go): upgrade to 1.5.2 or later

  ```sh
  go get github.com/pion/dtls@v1.5.2
  ```


## Affected products

- github.com/pion/dtls (Go) SEMVER:introduced=0,fixed=1.5.2

## Identifiers

- CVE-2019-20786
- GHSA-7gfg-6934-mqq2
- GO-2020-0038

## Related threats

- [GO-2026-4479 - Usage of random nonce generation with AES GCM ciphers risks leaking the authentication key in github.com/pion/dtls](https://junglewise.ai/threats/cve-2026-26014-pion-dtls-s-usage-of-random-nonce-generation-with-aes-gcm-ciphers)
- [Panic during unmarshal of Hello Verify Request in github.com/pion/dtls/v2](https://junglewise.ai/threats/panic-during-unmarshal-of-hello-verify-request-in-github-com-pion-dtls-c23b7d58)
- [Panic during unmarshal of Hello Verify Request in github.com/pion/dtls/v2](https://junglewise.ai/threats/panic-during-unmarshal-of-hello-verify-request-in-github-com-pion-dtls-20a8f61b)
- [GO-2022-0460 - Infinite loop in github.com/pion/dtls/v2](https://junglewise.ai/threats/cve-2022-29190-pion-dtls-header-reconstruction-method-can-be-thrown-into-an)
- [GO-2022-0461 - Unbounded memory consumption in github.com/pion/dtls/v2](https://junglewise.ai/threats/cve-2022-29189-pion-dtls-contains-buffer-for-inbound-dtls-fragments-with-no)
