Vulnerability in Golang Crypto
CVE-2019-11840
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.035 (88.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.035 · newest: 0.035 · change: -0.000
Affected products
- Golang Crypto
- Debian Linux — versions 8.0, 9.0, 10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- groups.google.com/forum/ (Permissions Required)
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d (Patch, Mailing List, Third Party Advisory)
- github.com/golang/go/issues/30965 (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2019/06/msg00029.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/10/msg00014.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/11/msg00016.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/11/msg00030.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2021/01/msg00015.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/06/msg00017.html (mailing-list, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-11840?
- CVE-2019-11840 is a medium-severity vulnerability in Golang Crypto, classified under Use of Insufficiently Random Values. CVSS score: 5.9/10. Published 2019-05-09.
- How severe is CVE-2019-11840?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2019-11840 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.