CVE-2019-11840
mediumpriority · track · 25OT risk · elevatedEPSS 0.035 · 89 %ileDEEUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedopenshift-0:4.3.0-202001131753.git.0.0aee6a8.el7.src as a component of Red Hat OpenShift Container Platform 4.3redhat_csaf
Before applying this update, ensure all previously released errata relevant to your system have been applied.
https://access.redhat.com/errata/RHBA-2020:0063 - Fixedopenshift-0:4.3.0-202001131753.git.0.0aee6a8.el8.src as a component of Red Hat OpenShift Container Platform 4.3redhat_csaf
Before applying this update, ensure all previously released errata relevant to your system have been applied.
https://access.redhat.com/errata/RHBA-2020:0063 - Fixedopenshift-hyperkube-0:4.3.0-202001131753.git.0.0aee6a8.el7.x86_64 as a component of Red Hat OpenShift Container Platform 4.3redhat_csaf
Before applying this update, ensure all previously released errata relevant to your system have been applied.
https://access.redhat.com/errata/RHBA-2020:0063 - Fixedopenshift-hyperkube-0:4.3.0-202001131753.git.0.0aee6a8.el8.x86_64 as a component of Red Hat OpenShift Container Platform 4.3redhat_csaf
Before applying this update, ensure all previously released errata relevant to your system have been applied.
https://access.redhat.com/errata/RHBA-2020:0063
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (379)
Products and version ranges known to be affected.
advisories (5)
Vendor and ecosystem advisories describing this.
- RHBA-2020:0063Red Hat Bug Fix Advisory: OpenShift Container Platform 4.3 RPM release advisory2020-01-23csaf · redhat_csafUS
Red Hat OpenShift Container Platform release 4.3.0, which fixes several bugs and includes various enhancements, is now available.
- WID-SEC-W-2022-0496Red Hat OpenShift: Mehrere SchwachstellenDeutsch2021-01-20csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat OpenShift ausnutzen, um Informationen offenzulegen oder Sicherheitsvorkehrungen zu umgehen.
- WID-SEC-W-2022-0510IBM DB2: Mehrere SchwachstellenDeutsch2022-06-29csaf · cert_bundDE
Ein entfernter, anonymer, authentisierter oder lokaler Angreifer kann mehrere Schwachstellen in IBM DB2 ausnutzen, um Dateien zu manipulieren, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen, einen Denial-of-Service-Zustand auszulösen, willkürlichen Code mit erhöhten Rechten auszuführen, Informationen falsch darzustellen und beliebigen Code auszuführen.
- GHSA-r5c5-pr8j-pfp7golang.org/x/crypto/salsa20/salsa uses insufficiently random values2022-05-24ghsa · osvUS
An issue was discovered in supplementary Go cryptography libraries, aka golang-googlecode-go-crypto, before 2019-03-20. A flaw was found in the amd64 implementation of golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa. 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. ### Specific Go Packages Affected golang.org/x/crypto/salsa20/salsa
- GO-2022-0209Insufficiently random values in golang.org/x/crypto/salsa202022-07-01vendor · osvUS
XORKeyStream generates incorrect and insecure output for very large inputs. 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. The issue might affect uses of golang.org/x/crypto/nacl with extremely large messages. Architectures other than amd64 and uses that generate less than 256 GiB of keystream for a single salsa20.XORKeyStream invocation are unaffected.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (43)
External citations — patches, advisories, analysis.
- https://bugzilla.redhat.com/show_bug.cgi?id=1691529cnnvd
- https://github.com/golang/go/issues/30965cnnvd
- https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113dcnnvd
- https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJcnnvd
- https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJcnnvd
- https://lists.debian.org/debian-lts-announce/2019/06/msg00029.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2020/10/msg00014.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2020/11/msg00016.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan