SecurityContext

CVE-2019-11840: golang.org/x/crypto - Weak Cryptography

  • Cve: CVE-2019-11840
  • Name: golang.org/x/crypto - Weak Cryptography
  • 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.
  • Impact: Attackers can cause keystream repetition, leading to loss of confidentiality or predictability in cryptographic applications.
  • Remediation: Update to version v0.0.0-20190320223903-b7391e95e576 or later.
  • Vulnerability type: weak_cryptography
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.9
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.03452
  • Epss percentile: 0.89321
  • Assignee: [email protected]
  • Published at: 2019-05-09T16:29:00Z
  • Age in days: 2756
  • Modified at: 2026-06-17T02:13:43Z
  • Patch available: yes
  • References total: 11
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-11840
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-330Use of Insufficiently Random Values

References

Same in every row:

  • Source: nvd
UrlTags
https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113dMailing List, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1691529Issue Tracking, Vendor Advisory
https://github.com/golang/go/issues/30965Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/06/msg00029.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/10/msg00014.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/11/msg00016.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/11/msg00030.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/01/msg00015.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/06/msg00017.htmlThird Party Advisory
https://pkg.go.dev/vuln/GO-2022-0209Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
golang:cryptoall versionsnonvd/v1/products/golang/crypto
debian:debian_linux= 10.0, = 9.0, = 8.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
golang/goissues, packageyes/v1/repositories/golang/go

Index

  • Repositories: 18
  • Packages: 1
  • Checked, none or zero: repositories high signal

Exploitation

  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports