Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/37956?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37956?format=api", "vulnerability_id": "VCID-vmut-b2y4-rkcp", "summary": "Potential Information Disclosure and Insufficient Entropy in Zend\\Captcha\\Word\nZend generates a \"word\" for a CAPTCHA challenge by selecting a sequence of random letters from a character set. The selection is 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 can potentially lead to information disclosure should an attacker be able to brute force the random number generation.", "aliases": [ { "alias": "GMS-2015-48" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/52416?format=api", "purl": "pkg:composer/zendframework/zendframework@2.4.9", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework@2.4.9" }, { "url": "http://public2.vulnerablecode.io/api/packages/52362?format=api", "purl": "pkg:composer/zendframework/zendframework@2.5.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework@2.5.2" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/52360?format=api", "purl": "pkg:composer/zendframework/zendframework@2.5.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-8fwb-56kb-jubf" }, { "vulnerability": "VCID-njsg-e1w1-9qcy" }, { "vulnerability": "VCID-vmut-b2y4-rkcp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework@2.5.0" } ], "references": [ { "reference_url": "http://framework.zend.com/security/advisory/ZF2015-09", "reference_id": "", "reference_type": "", "scores": [], "url": "http://framework.zend.com/security/advisory/ZF2015-09" } ], "weaknesses": [ { "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." }, { "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." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vmut-b2y4-rkcp" }