{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/55292?format=json","vulnerability_id":"VCID-h5yf-ahec-gbgx","summary":"Zendframework Potential Information Disclosure and Insufficient Entropy vulnerability\nIn 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.","aliases":[{"alias":"GHSA-848f-mph5-9pm9"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/52407?format=json","purl":"pkg:composer/zendframework/zendframework1@1.12.17","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xx4-77e9-pfbb"},{"vulnerability":"VCID-bjvu-jg9w-mqdd"},{"vulnerability":"VCID-n2gy-93nd-gber"},{"vulnerability":"VCID-rc3w-5r97-k3b3"},{"vulnerability":"VCID-sjw9-2fwe-5ybg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.12.17"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/51134?format=json","purl":"pkg:composer/zendframework/zendframework1@1.12.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2ncq-wptr-k3ha"},{"vulnerability":"VCID-2xx4-77e9-pfbb"},{"vulnerability":"VCID-5bm4-grk6-w7hk"},{"vulnerability":"VCID-649h-2f2f-nbam"},{"vulnerability":"VCID-6xpr-93ef-27cu"},{"vulnerability":"VCID-8atm-865q-mkf3"},{"vulnerability":"VCID-9bm9-b48z-zqcm"},{"vulnerability":"VCID-a72a-7k6u-rqgr"},{"vulnerability":"VCID-afnn-53q5-wqft"},{"vulnerability":"VCID-b1da-n1u7-43hj"},{"vulnerability":"VCID-bjvu-jg9w-mqdd"},{"vulnerability":"VCID-cp1a-fprd-9fhk"},{"vulnerability":"VCID-e9ut-smfp-7yb4"},{"vulnerability":"VCID-grk8-aj34-hqb4"},{"vulnerability":"VCID-h5yf-ahec-gbgx"},{"vulnerability":"VCID-j5kg-jzxz-ruam"},{"vulnerability":"VCID-n2gy-93nd-gber"},{"vulnerability":"VCID-njsg-e1w1-9qcy"},{"vulnerability":"VCID-ps73-776n-zffn"},{"vulnerability":"VCID-q73m-16a9-rkgx"},{"vulnerability":"VCID-q74z-645k-c7dk"},{"vulnerability":"VCID-r5y8-nc2w-kqde"},{"vulnerability":"VCID-rc3w-5r97-k3b3"},{"vulnerability":"VCID-sjw9-2fwe-5ybg"},{"vulnerability":"VCID-uvgx-4m6v-2bg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.12.0"}],"references":[{"reference_url":"https://framework.zend.com/security/advisory/ZF2015-09","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://framework.zend.com/security/advisory/ZF2015-09"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2015-09.yaml","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2015-09.yaml"},{"reference_url":"https://github.com/zendframework/zf1","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/zendframework/zf1"},{"reference_url":"https://github.com/advisories/GHSA-848f-mph5-9pm9","reference_id":"GHSA-848f-mph5-9pm9","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-848f-mph5-9pm9"}],"weaknesses":[{"cwe_id":331,"name":"Insufficient Entropy","description":"The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"7.0 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-h5yf-ahec-gbgx"}