Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) Affecting guzzlehttp/oauth-subscriber package, versions <0.8.1


Severity

Recommended
0.0
medium
0
10

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

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 (PRNG) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GUZZLEHTTPOAUTHSUBSCRIBER-8602526
  • published7 Jan 2025
  • disclosed6 Jan 2025
  • creditPhilippe Godbout

Introduced: 6 Jan 2025

NewCVE-2025-21617  (opens in a new tab)
CWE-338  (opens in a new tab)

How to fix?

Upgrade guzzlehttp/oauth-subscriber to version 0.8.1 or higher.

Overview

Affected versions of this package are vulnerable to Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) via the generateNonce function due to the insecure nonce generation process. An attacker can exploit this vulnerability to perform replay attacks when TLS is not used by predicting or reusing the nonce value.

CVSS Scores

version 4.0
version 3.1