GHSA-q8fc-v85f-78pwmedium5.3No CVE assigned
stormpath/sdk uses Insecure Random Number Generator
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
stormpath/sdk Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases through 1.19.0 (inclusive)Ecosystem versions | Not recorded |
Version evidence: OSV · GHSA-q8fc-v85f-78pw
View original version evidence (32 explicit versions)
Original source 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.
References
- Source reference github.com/stormpath/stormpath-sdk-php/issues/132
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/stormpath/sdk/2017-11-20.yaml
- Source reference github.com/stormpath/stormpath-sdk-php
- Source reference github.com/stormpath/stormpath-sdk-php/blob/15aee3007b8aa41c20cdf28fd650b8a2368a7fa9/src/Util/UUID.php
- Source reference github.com/stormpath/stormpath-sdk-php/blob/62698ea98ef89217f932e28cf3e511d39af3b4cf/src/Authc/Api/ApiKeyEncryptionOptions.php