Use of Cryptographically Weak Pseudo-Random Number Generator Affecting fujita/tgt package, versions [,1.0.93)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th 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 Cryptographically Weak Pseudo-Random Number Generator vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FUJITATGT-7922479
  • published6 Sept 2024
  • disclosed6 Sept 2024
  • creditUnknown

Introduced: 6 Sep 2024

CVE-2024-45751  (opens in a new tab)
CWE-338  (opens in a new tab)

How to fix?

Upgrade fujita/tgt to version 1.0.93 or higher.

Overview

Affected versions of this package are vulnerable to Use of Cryptographically Weak Pseudo-Random Number Generator due to the improper use of the rand function without initializing srand. An attacker can predict the sequence of challenges and potentially bypass security mechanisms by exploiting the predictable output.

CVSS Scores

version 4.0
version 3.1