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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-29T13:09:29.000Z
- Modified: 2024-12-04T05:40:09.638Z
- Weaknesses: CWE-338

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- stormpath/sdk (Packagist): up to 1.19.0

## References

- <https://github.com/stormpath/stormpath-sdk-php/issues/132> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/stormpath/sdk/2017-11-20.yaml> (web)
- <https://github.com/stormpath/stormpath-sdk-php> (package)
- <https://github.com/stormpath/stormpath-sdk-php/blob/15aee3007b8aa41c20cdf28fd650b8a2368a7fa9/src/Util/UUID.php#L167-L181> (web)
- <https://github.com/stormpath/stormpath-sdk-php/blob/62698ea98ef89217f932e28cf3e511d39af3b4cf/src/Authc/Api/ApiKeyEncryptionOptions.php#L48-L50> (web)

## Sources

- GitHub Advisory Database: [GHSA-q8fc-v85f-78pw](https://github.com/advisories/GHSA-q8fc-v85f-78pw), CC-BY-4.0, modified 2024-12-04

---

Page: https://cve.day/GHSA-q8fc-v85f-78pw · Whole record: https://cve.day/GHSA-q8fc-v85f-78pw.json · Rebuilt by cve.day 2026-11-25T22:56:32.808Z
