CVE-2019-11840
Last modified
CVE-2019-11840 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 3.44% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Crypto | All versions |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1691529Issue Tracking, Vendor Advisory
- https://github.com/golang/go/issues/30965Third Party Advisory
- https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113dMailing List, Patch, Third Party Advisory
- https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJPermissions Required
- https://lists.debian.org/debian-lts-announce/2019/06/msg00029.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/10/msg00014.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/11/msg00016.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/11/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00015.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00017.htmlThird Party Advisory
- https://pkg.go.dev/vuln/GO-2022-0209Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1691529Issue Tracking, Vendor Advisory
- https://github.com/golang/go/issues/30965Third Party Advisory
- https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113dMailing List, Patch, Third Party Advisory
- https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJPermissions Required
- https://lists.debian.org/debian-lts-announce/2019/06/msg00029.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/10/msg00014.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/11/msg00016.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/11/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00015.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00017.htmlThird Party Advisory
- https://pkg.go.dev/vuln/GO-2022-0209Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2019-11840?
How severe is CVE-2019-11840?
How do I fix CVE-2019-11840?
Are you affected by CVE-2019-11840?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
