An issue was discovered in the supplementary Go cryptography library…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 fixed, 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | golang.org/x/crypto (Go) | before 0.0.0-20190320223903-b7391e95e576 | 0.0.0-20190320223903-b7391e95e576 | Patch available | GHSA-r5c5-pr8j-pfp7 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- golang.org/x/crypto (Go) Vendor— Affected before 0.0.0-20190320223903-b7391e95e576 Fixed in 0.0.0-20190320223903-b7391e95e576 Patch available GHSA-r5c5-pr8j-pfp7
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:crypto:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Go standard library |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
- cpe:2.3:a:golang:crypto:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Go standard library
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
Remediation
- Fix · GHSA-r5c5-pr8j-pfp7 golang.org/x/crypto (Go) Fixed in 0.0.0-20190320223903-b7391e95e576 Advisory →
Red Hat 1 advisory
- RHSA-2021:0079 Released 2021-01-20 · Red Hat rating ModerateOpenShift Container Platform 3.11.374 bug fix and security update
- Red Hat OpenShift Container Platform 3.11 atomic-enterprise-service-catalog-1:3.11.374-1.git.1675.738abcc.el7, atomic-enterprise-service-catalog-svcat-1:3.11.374-1.git.1675.738abcc.el7, atomic-openshift-3.11.374-1.git.0.ebd3ee9.el7 +30
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 3.10 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 15 (Stein) | Affected | No fix planned: Out of support scope |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.11 | Fixed | RHSA-2021:0079 |
| Red Hat OpenShift Container Platform 4.3 | Fixed | — |
Not affected: 5 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4.3
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2019-11840
- 2026-10-03 Alias added: GHSA-r5c5-pr8j-pfp7
References
Advisory 10
- https://bugzilla.redhat.com/show_bug.cgi?id=1691529
- https://github.com/golang/go/issues/30965
- [debian-lts-announce] 20190630 [SECURITY] [DLA 1840-1] golang-go.crypto security update
- [debian-lts-announce] 20201007 [SECURITY] [DLA 2402-1] golang-go.crypto security update
- [debian-lts-announce] 20201109 [SECURITY] [DLA 2442-1] obfs4proxy security update
- [debian-lts-announce] 20201118 [SECURITY] [DLA 2454-1] rclone security update
- [debian-lts-announce] 20210117 [SECURITY] [DLA 2527-1] snapd security update
- [debian-lts-announce] 20230616 [SECURITY] [DLA 3455-1] golang-go.crypto security update
- https://pkg.go.dev/vuln/GO-2022-0209
- https://nvd.nist.gov/vuln/detail/CVE-2019-11840
Other 6
- https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ
- https://github.com/golang/go
- https://go.dev/cl/168406
- https://go.dev/issue/30965
- https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ
- https://groups.google.com/g/golang-announce/c/tjyNcJxb2vQ/m/n0NRBziSCAAJ
Sources
- CVE-2019-11840 · CVE Program
- CVE-2019-11840 · NVD
- FIRST EPSS
- GHSA-r5c5-pr8j-pfp7 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-11840 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences