{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-3007","published":"2021-01-04T03:15:13.527000Z","last_modified":"2026-06-17T04:04:33.270000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-502"],"cpes":[{"criteria":"cpe:2.3:a:getlaminas:laminas-http:*:*:*:*:*:*:*:*","part":"a","vendor":"getlaminas","product":"laminas-http","version_end_excluding":"2.14.2"},{"criteria":"cpe:2.3:a:zend:zend_framework:3.0.0:*:*:*:*:*:*:*","part":"a","vendor":"zend","product":"zend_framework","version":"3.0.0"}],"cpes_truncated":false,"vendors":["getlaminas","zend"],"products":["getlaminas/laminas-http","zend/zend_framework"],"epss":{"score":0.75313,"percentile":0.9966,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xx8f-qf9f-5fgw","ecosystem":"Packagist","name":"laminas/laminas-http","purl":"pkg:composer/laminas/laminas-http","ranges":[{"introduced":"0","fixed":"2.14.2"}],"versions":["2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.10.0","2.10.1","2.11.0","2.11.1","2.11.2","2.11.3","2.12.0","2.13.0","2.14.0","2.14.1","2.2.0","2.2.0rc1","2.2.0rc2","2.2.0rc3","2.2.1","2.2.10","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.0rc1","2.4.0rc2","2.4.0rc3","2.4.0rc4","2.4.0rc5","2.4.0rc6","2.4.0rc7","2.4.1","2.4.10","2.4.11","2.4.12","2.4.13","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.6.0","2.7.0","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.9.0","2.9.1"],"versions_truncated":false},{"advisory":"GHSA-xx8f-qf9f-5fgw","ecosystem":"Packagist","name":"zendframework/zendframework","purl":"pkg:composer/zendframework/zendframework","ranges":[{"introduced":"0","last_affected":"3.0.0"}],"versions":["2.0.0","2.0.0beta4","2.0.0beta5","2.0.0rc1","2.0.0rc2","2.0.0rc3","2.0.0rc4","2.0.0rc5","2.0.0rc6","2.0.0rc7","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.2.0","2.2.0rc1","2.2.0rc2","2.2.0rc3","2.2.1","2.2.10","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.0rc1","2.4.0rc2","2.4.0rc3","2.4.0rc4","2.4.0rc5","2.4.0rc6","2.4.0rc7","2.4.1","2.4.10","2.4.11","2.4.12","2.4.13","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9","2.5.0","2.5.1","2.5.2","2.5.3","3.0.0"],"versions_truncated":false}],"severity":"critical","priority_score":81,"links":{"html_es":"/es/cve/CVE-2021-3007/","html_en":"/en/cve/CVE-2021-3007/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3007","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3007"},"untrusted":{"vendor_name":"Getlaminas","product_name":"Laminas-http","desc_en":"Laminas Project laminas-http before 2.14.2, and Zend Framework 3.0.0, has a deserialization vulnerability that can lead to remote code execution if the content is controllable, related to the __destruct method of the Zend\\Http\\Response\\Stream class in Stream.php. NOTE: Zend Framework is no longer supported by the maintainer. NOTE: the laminas-http vendor considers this a \"vulnerability in the PHP language itself\" but has added certain type checking as a way to prevent exploitation in (unrecommended) use cases where attacker-supplied data can be deserialized","affected":[],"references":[{"url":"https://github.com/Ling-Yizhou/zendframework3-/blob/main/zend%20framework3%20%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96%20rce.md","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/laminas/laminas-http/pull/48","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/laminas/laminas-http/releases/tag/2.14.2","tags":["Third Party Advisory"]},{"url":"https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/","tags":["Exploit","Third Party Advisory"]}]}}