CVEvulnerability
CVE-2019-11840
5.9 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2019-05-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-330
Description
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 configurations
• golang crypto
• debian debian linux 8.0
• debian debian linux 9.0
• debian debian linux 10.0
Related
Weakness · CWE (1)
- CWE-330 Use of Insufficiently Random Values weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1691529 Issue Tracking, Vendor Advisory
- https://github.com/golang/go/issues/30965 Third Party Advisory
- https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d Mailing List, Patch, Third Party Advisory
- https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ Permissions Required
- 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
- https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html Third Party Advisory
- https://pkg.go.dev/vuln/GO-2022-0209 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1691529 Issue Tracking, Vendor Advisory
- https://github.com/golang/go/issues/30965 Third Party Advisory
- https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d Mailing List, Patch, Third Party Advisory
- https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ Permissions Required
- 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
- https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html Third Party Advisory
- https://pkg.go.dev/vuln/GO-2022-0209 Third Party Advisory