Skip to main content
← All vulnerabilities
CVE-2019-11840GHSA-R5C5-PR8J-PFP7GO-2022-0209

An issue was discovered in the supplementary Go cryptography library, golang.org/x/crypto, before v0.0.0-20190320223903-b7391e95e576.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.0-20190320223903-b7391e95e576
None on Exploit-DB, Metasploit or GitHub

Summary

An issue was discovered in the supplementary Go cryptography library, golang.org/x/crypto, before v0.0.0-20190320223903-b7391e95e576. A flaw was found in the amd64 implementation of the golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa packages. If more than 256 GiB of keystream is generated, or if the counter otherwise grows greater than 32 bits, the amd64 implementation will first generate incorrect output, and then cycle back to previously generated keystream. Repeated keystream bytes can lead to loss of confidentiality in encryption applications, or to predictability in CSPRNG applications.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • golang.org/x/cryptoGo

    fixed in 0.0.0-20190320223903-b7391e95e576

References 11

groups.google.com

bugzilla.redhat.com

go.googlesource.com

GitHub · golang/go

lists.debian.org

pkg.go.dev