CVE-2019-11840
An issue was discovered in the supplementary Go cryptography library, golang.org/x/crypto, before v0.0.0-20190320223903-b7391e95e576. A…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 3.5% · top 11% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogolang.org/x/cryptoGHSA-r5c5-pr8j-pfp7 (opens in a new tab)
References (11)
- https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ (opens in a new tab)x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1691529 (opens in a new tab)x_transferred
- https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d (opens in a new tab)x_transferred
- https://github.com/golang/go/issues/30965 (opens in a new tab)x_transferred
- [debian-lts-announce] 20190630 [SECURITY] [DLA 1840-1] golang-go.crypto security update (opens in a new tab)mailing-listx_transferred
- [debian-lts-announce] 20201007 [SECURITY] [DLA 2402-1] golang-go.crypto security update (opens in a new tab)mailing-listx_transferred
- [debian-lts-announce] 20201109 [SECURITY] [DLA 2442-1] obfs4proxy security update (opens in a new tab)mailing-listx_transferred
- [debian-lts-announce] 20201118 [SECURITY] [DLA 2454-1] rclone security update (opens in a new tab)mailing-listx_transferred
- [debian-lts-announce] 20210117 [SECURITY] [DLA 2527-1] snapd security update (opens in a new tab)mailing-listx_transferred
- [debian-lts-announce] 20230616 [SECURITY] [DLA 3455-1] golang-go.crypto security update (opens in a new tab)mailing-listx_transferred
- https://pkg.go.dev/vuln/GO-2022-0209 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-r5c5-pr8j-pfp7 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-11840)Record last updated .