An issue was discovered in supplementary Go cryptography libraries, aka golang-googlecode-go-crypto, before 2019-03-20. A flaw was found in the amd64 implementation of golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa. 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.
References
Link | Resource |
---|---|
https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ | Mailing List Third Party Advisory |
https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d | Mailing List Patch Third Party Advisory |
https://github.com/golang/go/issues/30965 | Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1691529 | Issue Tracking Vendor Advisory |
https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2020/11/msg00030.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/01/msg00015.html | Mailing List Third Party Advisory |
Information
Published : 2019-05-09 09:29
Updated : 2022-10-07 07:39
NVD link : CVE-2019-11840
Mitre link : CVE-2019-11840
JSON object : View
CWE
CWE-330
Use of Insufficiently Random Values
Products Affected
golang
- crypto
debian
- debian_linux