{"id":"GHSA-q8fc-v85f-78pw","aliases":["GHSA-q8fc-v85f-78pw"],"related":[],"kind":"vulnerability","state":"published","title":"stormpath/sdk uses Insecure Random Number Generator","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2024-05-29T13:09:29.000Z","modified":"2024-12-04T05:40:09.638Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-338"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.19.0"}],"ecosystem":"Packagist","package":"stormpath/sdk","purl":"pkg:composer/stormpath/sdk","source":"ghsa"}],"references":[{"url":"https://github.com/stormpath/stormpath-sdk-php/issues/132","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/stormpath/sdk/2017-11-20.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/stormpath/stormpath-sdk-php","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/stormpath/stormpath-sdk-php/blob/15aee3007b8aa41c20cdf28fd650b8a2368a7fa9/src/Util/UUID.php#L167-L181","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/stormpath/stormpath-sdk-php/blob/62698ea98ef89217f932e28cf3e511d39af3b4cf/src/Authc/Api/ApiKeyEncryptionOptions.php#L48-L50","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q8fc-v85f-78pw","url":"https://github.com/advisories/GHSA-q8fc-v85f-78pw","licence":"CC-BY-4.0","modified":"2024-12-04T05:40:09.638Z"}],"updatedAt":"2026-11-25T22:56:32.808Z"}