{"id":"CVE-2021-3007","state":"PUBLISHED","title":"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, rel","description":"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","publishedAt":"2021-01-04T02:26:45.000Z","updatedAt":"2024-08-03T16:45:50.691Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["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","https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php","https://github.com/laminas/laminas-http/pull/48","https://github.com/laminas/laminas-http/releases/tag/2.14.2","https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3007.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3007","state":"PUBLISHED","datePublished":"2021-01-04T02:26:45.000Z","dateUpdated":"2024-08-03T16:45:50.691Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-01-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"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":["x_refsource_MISC"]},{"url":"https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php","tags":["x_refsource_MISC"]},{"url":"https://github.com/laminas/laminas-http/pull/48","tags":["x_refsource_MISC"]},{"url":"https://github.com/laminas/laminas-http/releases/tag/2.14.2","tags":["x_refsource_MISC"]},{"url":"https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-01-19T16:08:20.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"tags":["disputed"],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-3007","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** DISPUTED ** 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"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","refsource":"MISC","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"},{"name":"https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php","refsource":"MISC","url":"https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php"},{"name":"https://github.com/laminas/laminas-http/pull/48","refsource":"MISC","url":"https://github.com/laminas/laminas-http/pull/48"},{"name":"https://github.com/laminas/laminas-http/releases/tag/2.14.2","refsource":"MISC","url":"https://github.com/laminas/laminas-http/releases/tag/2.14.2"},{"name":"https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/","refsource":"MISC","url":"https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/"}]}}},"adp":[{"title":"CVE Program Container","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":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/laminas/laminas-http/pull/48","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/laminas/laminas-http/releases/tag/2.14.2","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T16:45:50.691Z"}}]}}}