Vulnerabilities · 2019 · Golang
CVE-2019-11840
Golang Crypto vulnerability
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.
Affected products
Crypto, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang Crypto runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=1691529 · Vendor Advisory
- go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d · Patch
- github.com/golang/go/issues/30965 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/06/msg00029.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/10/msg00014.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/11/msg00016.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/11/msg00030.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/01/msg00015.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-11840
- cve.org/CVERecord?id=CVE-2019-11840
More vulnerabilities in Golang products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.