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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-go.crypto | 1:0.0~git20200221.2aa609c-1 | — |
| Debian 13 | golang-go.crypto | 1:0.0~git20200221.2aa609c-1 | — |
| Debian 12 | golang-go.crypto | 1:0.0~git20200221.2aa609c-1 | — |
| Debian 10 | golang-go.crypto | 1:0.0~git20181203.505ab14-1+deb10u1 | DLA-3455-1 |
| Debian 9 | golang-go.crypto | 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1+deb8u1 | DLA-2402-1 |
| Debian 9 | obfs4proxy | 0.0.7-1+deb8u1 | DLA-2442-1 |
| Debian 9 | rclone | 1.35-1+deb8u1 | DLA-2454-1 |
| Debian 9 | snapd | 2.21-2+deb9u1 | DLA-2527-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | golang-go.crypto | 0.0~hg190-1+deb8u1 | DLA-1840-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | snapd | No fix yet | — |
| Ubuntu 26.04 LTS | snapd | No fix yet | — |
| Ubuntu 25.10 | snapd | No fix yet | — |
| Ubuntu 24.04 LTS | snapd | No fix yet | — |
| Ubuntu 22.04 LTS | snapd | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | snapd | No fix yet | — |
| Ubuntu Pro 18.04 LTS | snapd +1 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | snapd +1 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 4 | jenkins | 2.204.1.1578490170-1.el7 | RHBA-2020:0063 |
| Red Hat OpenShift 4 | openshift +1 | 4.3.0-202001131753.git.0.0aee6a8.el7 | RHBA-2020:0063 |
| Red Hat OpenShift 3 | atomic-enterprise-service-catalog +1 | 1:3.11.374-1.git.1675.738abcc.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | atomic-openshift +12 | 3.11.374-1.git.0.ebd3ee9.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | atomic-openshift-cluster-autoscaler | 3.11.374-1.git.0.2996f62.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | atomic-openshift-descheduler | 3.11.374-1.git.299.f128e96.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | atomic-openshift-dockerregistry | 3.11.374-1.git.481.e6a880c.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | atomic-openshift-metrics-server | 3.11.374-1.git.53.9df25a9.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | atomic-openshift-node-problem-detector | 3.11.374-1.git.263.28335fb.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | atomic-openshift-service-idler | 3.11.374-1.git.15.523a1f7.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | atomic-openshift-web-console | 3.11.374-1.git.647.9e78d83.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | golang-github-openshift-oauth-proxy | 3.11.374-1.git.439.966c536.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | openshift-enterprise-autoheal | 3.11.374-1.git.218.9cf7939.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | openshift-enterprise-cluster-capacity | 3.11.374-1.git.379.80bd08f.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | prometheus +1 | 3.11.374-1.git.5026.29379c4.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | prometheus-alertmanager +1 | 3.11.374-1.git.0.3abd2a5.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | prometheus-node-exporter +1 | 3.11.374-1.git.1062.490d6d5.el7 | RHSA-2021:0079 |
| Red Hat OpenShift 3 | python-urllib3 +1 | 1.26.2-1.el7 | RHSA-2021:0079 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | k3d +2 | 5.6.0-r11 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | golang.org/x/crypto | < 0.0.0-20190320223903-b7391e95e576 | 0.0.0-20190320223903-b7391e95e576 | GHSA-r5c5-pr8j-pfp7 |
Advisories 10
- WID-SEC-2022-0496 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2021:0079 Red Hat Security Advisory: OpenShift Container Platform 3.11.374 bug fix and security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHBA-2020:0063 Red Hat Bug Fix Advisory: OpenShift Container Platform 4.3 RPM release advisory Red Hat Security Advisories (RHSA) · May 19, 2026
- WID-SEC-2022-0510 IBM DB2: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
- DLA-3455-1 golang-go.crypto - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2402-1 golang-go.crypto - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1840-1 golang-go.crypto - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2442-1 obfs4proxy - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2454-1 rclone - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2527-1 snapd - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ
- https://bugzilla.redhat.com/show_bug.cgi?id=1691529
- https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d
- https://github.com/golang/go/issues/30965
- [debian-lts-announce] 20190630 [SECURITY] [DLA 1840-1] golang-go.crypto security update mailing-list
- [debian-lts-announce] 20201007 [SECURITY] [DLA 2402-1] golang-go.crypto security update mailing-list
- [debian-lts-announce] 20201109 [SECURITY] [DLA 2442-1] obfs4proxy security update mailing-list
- [debian-lts-announce] 20201118 [SECURITY] [DLA 2454-1] rclone security update mailing-list
- [debian-lts-announce] 20210117 [SECURITY] [DLA 2527-1] snapd security update mailing-list
- [debian-lts-announce] 20230616 [SECURITY] [DLA 3455-1] golang-go.crypto security update mailing-list
- https://pkg.go.dev/vuln/GO-2022-0209