Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. stormpath/sdk
  4. ›
  5. GHSA-q8fc-v85f-78pw

GHSA-q8fc-v85f-78pw: stormpath/sdk uses Insecure Random Number Generator

May 29, 2024

The vulnerability pertains to the usage of an insecure random number generator (RNG) in the “stormpath-sdk-php” library. Specifically, the issue is present in the generation of UUID (Universally Unique Identifier) version 4 within the codebase.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/stormpath/sdk/2017-11-20.yaml
  • github.com/advisories/GHSA-q8fc-v85f-78pw
  • github.com/stormpath/stormpath-sdk-php
  • github.com/stormpath/stormpath-sdk-php/blob/15aee3007b8aa41c20cdf28fd650b8a2368a7fa9/src/Util/UUID.php
  • github.com/stormpath/stormpath-sdk-php/blob/62698ea98ef89217f932e28cf3e511d39af3b4cf/src/Authc/Api/ApiKeyEncryptionOptions.php
  • github.com/stormpath/stormpath-sdk-php/issues/132

Code Behaviors & Features

Detect and mitigate GHSA-q8fc-v85f-78pw with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.19.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Source file

packagist/stormpath/sdk/GHSA-q8fc-v85f-78pw.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:23 +0000.