Use of Insufficiently Random Values Affecting k3d package, versions <5.6.0-r11


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.69% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of Insufficiently Random Values vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-K3D-6593381
  • published9 Apr 2024
  • disclosed9 May 2019

Introduced: 9 May 2019

CVE-2019-11840  (opens in a new tab)
CWE-330  (opens in a new tab)

How to fix?

Upgrade Wolfi k3d to version 5.6.0-r11 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream k3d package and not the k3d package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Scores

version 3.1