cve.bz

CVE-2019-11840 Use of Insufficiently Random Values

5.9 mediumEPSS 3.5%Fix available

Medium (5.9). EPSS 3.5% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/crypto 0.0.0-20190320223903-b7391e95e576.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
3.5% (unchanged from 3.5% a week ago; 3.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-330 Use of Insufficiently Random Values
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-11840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-11840?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-11840?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-11840 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r5c5-pr8j-pfp7Gogolang.org/x/crypto<0.0.0-20190320223903-b7391e95e5760.0.0-20190320223903-b7391e95e576
GO-2022-0209Gogolang.org/x/crypto<0.0.0-20190320223903-b7391e95e5760.0.0-20190320223903-b7391e95e576

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8golang-go.crypto0.0~hg190-1+deb8u1DLA-1840-1
Debian9golang-go.crypto1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1+deb8u1DLA-2402-1
Debian9obfs4proxy0.0.7-1+deb8u1DLA-2442-1
Debian9rclone1.35-1+deb8u1DLA-2454-1
Debian9snapd2.21-2+deb9u1DLA-2527-1
Debian10golang-go.crypto1:0.0~git20181203.505ab14-1+deb10u1DLA-3455-1
Debian12, 13, 14golang-go.crypto1:0.0~git20200221.2aa609c-1DEBIAN-CVE-2019-11840
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 3 moresnapdno fix listedUBUNTU-CVE-2019-11840
UbuntuPro:16.04:LTS, Pro:18.04:LTSsnapd, golang-go.cryptono fix listedUBUNTU-CVE-2019-11840
Red Hatopenshift:3.11::el7atomic-enterprise-service-catalog, atomic-enterprise-service-catalog-svcat1:3.11.374-1.git.1675.738abcc.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift, atomic-openshift-pod, atomic-openshift-node and 10 more0:3.11.374-1.git.0.ebd3ee9.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-cluster-autoscaler0:3.11.374-1.git.0.2996f62.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-descheduler0:3.11.374-1.git.299.f128e96.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-dockerregistry0:3.11.374-1.git.481.e6a880c.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-metrics-server0:3.11.374-1.git.53.9df25a9.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-node-problem-detector0:3.11.374-1.git.263.28335fb.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-service-idler0:3.11.374-1.git.15.523a1f7.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-web-console0:3.11.374-1.git.647.9e78d83.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7golang-github-openshift-oauth-proxy0:3.11.374-1.git.439.966c536.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7openshift-enterprise-autoheal0:3.11.374-1.git.218.9cf7939.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7openshift-enterprise-cluster-capacity0:3.11.374-1.git.379.80bd08f.el7RHSA-2021:0079
7 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11atomic-enterprise-service-catalog-1:3.11.374-1.git.1675.738abcc.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 3.11atomic-openshift-0:3.11.374-1.git.0.ebd3ee9.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 3.11atomic-openshift-cluster-autoscaler-0:3.11.374-1.git.0.2996f62.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 3.11atomic-openshift-descheduler-0:3.11.374-1.git.299.f128e96.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 3.11atomic-openshift-dockerregistry-0:3.11.374-1.git.481.e6a880c.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 3.11atomic-openshift-metrics-server-0:3.11.374-1.git.53.9df25a9.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 3.11atomic-openshift-node-problem-detector-0:3.11.374-1.git.263.28335fb.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 3.11atomic-openshift-service-idler-0:3.11.374-1.git.15.523a1f7.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 3.11atomic-openshift-web-console-0:3.11.374-1.git.647.9e78d83.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 3.11golang-github-openshift-oauth-proxy-0:3.11.374-1.git.439.966c536.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat Enterprise Linux 7gomtreeNot affected
Red Hat Enterprise Linux 8gomtreeNot affected
Red Hat OpenShift Container Platform 3.10atomic-openshiftOut of support scope
Red Hat OpenStack Platform 15 (Stein)golang-googlecode-go-cryptoOut of support scope
Red Hat Software Collectionsrh-mongodb32-golang-googlecode-go-cryptoWill not fix
Red Hat Software Collectionsrh-mongodb34-mongodbNot affected
Red Hat Software Collectionsrh-mongodb34-mongo-toolsNot affected
Red Hat Software Collectionsrh-mongodb36-mongodbNot affected
Red Hat Software Collectionsrh-mongodb36-mongo-toolsNot affected
Red Hat Software Collectionssource-to-imageNot affected
8 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-11840.

Attack patterns (CAPEC)

  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-112 Brute Force Severity: High
  • CAPEC-485 Signature Spoofing by Key Recreation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON