Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2019-11840

golang.org/x/crypto: Keystream loop in amd64 assembly when overflowing 32-bit counter

Overview

Published
9 May 2019
Modified
17 Jun 2026
Medium CVE
1 Registry packages
45 OS packages
6 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

5.9 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness: CWE-330

Affected packages · 1

Packages affected by CVE-2019-11840
EcosystemPackageVulnerableFixed in
Go golang.org/x/crypto <0.0.0-20190320223903-b7391e95e576 0.0.0-20190320223903-b7391e95e576

Open a package to see all its vulnerabilities.

Operating systems · 37 fixes

Red Hat 3 releases · 21 packages

wont fix 2 eol 2 fixed 19
heketi atomic-openshift rh-mongodb32-golang-golangorg-crypto-devel python2-urllib3 jenkins atomic-openshift-cluster-autoscaler +15
Red Hat fixes for CVE-2019-11840
ReleasePackageFixed inAdvisory
heketi +4 wont fix —
7 atomic-openshift +12 eol —
7 rh-mongodb32-golang-golangorg-crypto-devel +2 wont fix —
7 python2-urllib3 0:1.26.2-1.el7 RHSA-2021:0079
7 jenkins 0:2.204.1.1578490170-1.el7 RHBA-2020:0063
7 atomic-openshift-cluster-autoscaler 0:3.11.374-1.git.0.2996f62.el7 RHSA-2021:0079

17 more rows

chainguard 1 release · 2 packages

not affected 1 fixed 1
dex-k8s-authenticator k3d
chainguard fixes for CVE-2019-11840
ReleasePackageFixed in
dex-k8s-authenticator not affected
k3d 5.6.0-r11

debian 6 releases · 4 packages

fixed 9
golang-go-crypto obfs4proxy rclone snapd
debian fixes for CVE-2019-11840
ReleasePackageFixed in
10 golang-go-crypto 1:0.0~git20181203.505ab14-1+deb10u1
11 golang-go-crypto 1:0.0~git20200221.2aa609c-1
12 golang-go-crypto 1:0.0~git20200221.2aa609c-1
13 golang-go-crypto 1:0.0~git20200221.2aa609c-1
14 golang-go-crypto 1:0.0~git20200221.2aa609c-1
9 obfs4proxy 0.0.7-1+deb8u1

3 more rows

echo 1 release · 1 package

fixed 1
golang-go-crypto
echo fixes for CVE-2019-11840
ReleasePackageFixed in
golang-go-crypto 1:0.0~git20200221.2aa609c-1

ubuntu 1 release · 1 package

affected 1
golang-go-crypto
ubuntu fixes for CVE-2019-11840
ReleasePackageFixed in
18.04-ESM golang-go-crypto affected

wolfi 1 release · 1 package

fixed 1
k3d
wolfi fixes for CVE-2019-11840
ReleasePackageFixed in
k3d 5.6.0-r11

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.