
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
The vulnerability (GHSA-q8fc-v85f-78pw) affects the stormpath/sdk PHP package and involves the use of an insecure random number generator (RNG) in UUID generation. The issue was discovered in versions <= 1.19.0, with no patched versions available. The vulnerability was disclosed and published to the GitHub Advisory Database on May 29, 2024 (GitHub Advisory).
The vulnerability stems from the usage of mtrand() function for generating UUID version 4 within the codebase, specifically in the UUID.php file. The implementation uses mtrand() for generating various components of the UUID, including timehi, clockseqhi, timelow, timemid, clockseqlow, and node values. Additionally, there is an insecure RNG fallback in ApiKeyEncryptionOptions.php that uses md5(uniqid()) when opensslrandompseudobytes is not available. The vulnerability has been assigned a CVSS v3.1 score of 5.3 (Moderate severity) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (GitHub Advisory).
The use of a weak random number generator could potentially lead to predictable UUID generation, affecting the integrity of the system's unique identifiers. The vulnerability primarily impacts the integrity of the system with a low severity rating, while confidentiality and availability remain unaffected (GitHub Advisory).
No official patch has been released for this vulnerability. Security researchers have recommended using the randomcompat library as an alternative, which provides a polyfill for PHP 7's randombytes and random_int functions, offering more secure random number generation (Stormpath Issue).
The issue was initially reported and discussed in GitHub issue #132 of the stormpath-sdk-php repository. The discussion involved security researchers and project maintainers debating the importance of using cryptographically secure random number generators for UUID generation, with some emphasizing the significance of using proper CSPRNGs for security-critical applications (Stormpath Issue).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”