Critical severity9.8NVD Advisory· Published Jan 4, 2021· Updated Jun 17, 2026
CVE-2021-3007
CVE-2021-3007
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
zendframework/zendframeworkPackagist | <= 3.0.0 | — |
laminas/laminas-httpPackagist | < 2.14.2 | 2.14.2 |
Affected products
3- Laminas Project/laminas-httpdescription
- ghsa-coords2 versions
< 2.14.2+ 1 more
- (no CPE)range: < 2.14.2
- (no CPE)range: <= 3.0.0
Patches
Vulnerability mechanics
References
8- github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.phpnvdPatchThird Party AdvisoryWEB
- github.com/laminas/laminas-http/pull/48nvdPatchThird Party AdvisoryWEB
- github.com/Ling-Yizhou/zendframework3-/blob/main/zend%20framework3%20%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96%20rce.mdnvdExploitThird Party AdvisoryWEB
- research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/nvdExploitThird Party Advisory
- github.com/advisories/GHSA-xx8f-qf9f-5fgwghsaADVISORY
- github.com/laminas/laminas-http/releases/tag/2.14.2nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-3007ghsaADVISORY
- research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnetghsaWEB
News mentions
0No linked articles in our index yet.