5.9
MEDIUM
CVE-2019-11840
Go golang.org/x/crypto Salsa20 Keystream Reuse and Cycling
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.

INFO

Published Date :

May 9, 2019, 4:29 p.m.

Last Modified :

Nov. 21, 2024, 4:21 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.2
Affected Products

The following products are affected by CVE-2019-11840 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Golang crypto
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-11840.

URL Resource
https://bugzilla.redhat.com/show_bug.cgi?id=1691529 Issue Tracking Vendor Advisory
https://github.com/golang/go/issues/30965 Third Party Advisory
https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d Mailing List Patch Third Party Advisory
https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ
https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/11/msg00030.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/01/msg00015.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html
https://pkg.go.dev/vuln/GO-2022-0209
https://bugzilla.redhat.com/show_bug.cgi?id=1691529 Issue Tracking Vendor Advisory
https://github.com/golang/go/issues/30965 Third Party Advisory
https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d Mailing List Patch Third Party Advisory
https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ
https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/11/msg00030.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/01/msg00015.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html
https://pkg.go.dev/vuln/GO-2022-0209

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-11840 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-11840 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1691529
    Added Reference https://github.com/golang/go/issues/30965
    Added Reference https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d
    Added Reference https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ
    Added Reference https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html
    Added Reference https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html
    Added Reference https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html
    Added Reference https://lists.debian.org/debian-lts-announce/2020/11/msg00030.html
    Added Reference https://lists.debian.org/debian-lts-announce/2021/01/msg00015.html
    Added Reference https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html
    Added Reference https://pkg.go.dev/vuln/GO-2022-0209
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
    Changed Description 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. 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.
    Added Reference MITRE https://pkg.go.dev/vuln/GO-2022-0209 [No types assigned]
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ [No types assigned]
    Removed Reference MITRE https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ
  • CVE Modified by [email protected]

    Jun. 17, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Oct. 07, 2022

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html No Types Assigned https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html No Types Assigned https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html No Types Assigned https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2020/11/msg00030.html No Types Assigned https://lists.debian.org/debian-lts-announce/2020/11/msg00030.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/01/msg00015.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/01/msg00015.html Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 18, 2021

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2021/01/msg00015.html [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 18, 2020

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2020/11/msg00030.html [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 10, 2020

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 08, 2020

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 30, 2019

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html [No Types Assigned]
  • Initial Analysis by [email protected]

    May. 10, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:N/A:N)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/golang/go/issues/30965 No Types Assigned https://github.com/golang/go/issues/30965 Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1691529 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1691529 Issue Tracking, Vendor Advisory
    Changed Reference Type https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d No Types Assigned https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ No Types Assigned https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ Mailing List, Third Party Advisory
    Added CWE CWE-330
    Added CPE Configuration OR *cpe:2.3:a:golang:crypto:*:*:*:*:*:*:*:* versions up to (excluding) 2019-03-20
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-11840 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2019-11840 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.49 }} -0.20%

score

0.75861

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability