CVE-2019-11840 golang.org/x/crypto/salsa20/salsa uses insufficiently random values
MediumCVSS 5.9
EPSS 3.5%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang.org/x/crypto(Go) | < 0.0.0-20190320223903-b7391e95e576 | 0.0.0-20190320223903-b7391e95e576 |
| debian/golang-go.crypto(Debian:12) | < 1:0.0~git20200221.2aa609c-1 | 1:0.0~git20200221.2aa609c-1 |
| debian/golang-go.crypto(Debian:13) | < 1:0.0~git20200221.2aa609c-1 | 1:0.0~git20200221.2aa609c-1 |
| debian/golang-go.crypto(Debian:14) | < 1:0.0~git20200221.2aa609c-1 | 1:0.0~git20200221.2aa609c-1 |
| golang crypto | All versions | No fix listed |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| ubuntu/snapd(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/snapd(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/snapd(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/snapd(Ubuntu:22.04) | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com third-party-advisory
- bugzilla.redhat.com issue-tracking vendor-advisory
- go.googlesource.com mailing-list patch third-party-advisory
- groups.google.com permissions-required
- [debian-lts-announce] 20190630 [SECURITY] [DLA 1840-1] golang-go.crypto security update mailing-list third-party-advisory
- [debian-lts-announce] 20201007 [SECURITY] [DLA 2402-1] golang-go.crypto security update mailing-list third-party-advisory
- [debian-lts-announce] 20201109 [SECURITY] [DLA 2442-1] obfs4proxy security update mailing-list third-party-advisory
- [debian-lts-announce] 20201118 [SECURITY] [DLA 2454-1] rclone security update mailing-list third-party-advisory
- [debian-lts-announce] 20210117 [SECURITY] [DLA 2527-1] snapd security update mailing-list third-party-advisory
- go.dev patch
- go.dev issue-tracking
- groups.google.com
- pkg.go.dev third-party-advisory
- [debian-lts-announce] 20230616 [SECURITY] [DLA 3455-1] golang-go.crypto security update mailing-list third-party-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- github.com product
- Debian Security Tracker CVE-2019-11840 vendor-advisory