{"id":"GHSA-848f-mph5-9pm9","aliases":[],"title":"Zendframework Potential Information Disclosure and Insufficient Entropy vulnerability","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"In Zend Framework, Zend_Captcha_Word (v1) and Zend\\Captcha\\Word (v2) generate a \"word\" for a CAPTCHA challenge by selecting a sequence of random letters from a character set. Prior to this advisory, the selection was performed using PHP's internal array_rand() function. This function does not generate sufficient entropy due to its usage of rand() instead of more cryptographically secure methods such as openssl_pseudo_random_bytes(). This could potentially lead to information disclosure should an attacker be able to brute force the random number generation.","severity":"high","score":7.5,"published":"2024-06-07T22:27:02.000Z","modified":"2024-12-04T05:39:36.296Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"zendframework/zendframework1","sources":[{"name":"OSV · GHSA-848f-mph5-9pm9","url":"https://osv.dev/vulnerability/GHSA-848f-mph5-9pm9"}],"ranges":[{"events":[{"introduced":"1.12.0"},{"fixed":"1.12.17"}],"type":"ECOSYSTEM"}],"versions":["1.12.0","1.12.1","1.12.10","1.12.11","1.12.12","1.12.13","1.12.14","1.12.15","1.12.16","1.12.2","1.12.3","1.12.4","1.12.5","1.12.6","1.12.7","1.12.8","1.12.9"],"fixed":["1.12.17"]}],"sourceAffected":[],"references":["https://framework.zend.com/security/advisory/ZF2015-09","https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2015-09.yaml","https://github.com/zendframework/zf1"],"sources":[{"name":"OSV","id":"GHSA-848f-mph5-9pm9","modified":"2024-12-04T05:39:36.296019Z","url":"https://osv.dev/vulnerability/GHSA-848f-mph5-9pm9"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5}],"products":[],"remediation":[],"kev":{"status":"unavailable","checkedAt":"2026-10-28T21:45:31.439Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}