CVE-2021-3007

Summary

CVECVE-2021-3007
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-01-04 03:15:00 UTC
Updated2023-11-07 03:37:00 UTC
Description** 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.

Risk And Classification

Problem Types: CWE-502

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Getlaminas Laminas-http All All All All
Application Getlaminas Laminas-http All All All All
Application Zend Zend Framework 3.0.0 All All All
Application Zend Zend Framework 3.0.0 All All All

References

ReferenceSourceLinkTags
History for src/Response/Stream.php - laminas/laminas-http · GitHub MISC github.com Patch, Third Party Advisory
Security tightening: verify a stream file name is a string before unlinking by weierophinney · Pull Request #48 · laminas/laminas-http · GitHub MISC github.com Patch, Third Party Advisory
FreakOut – Leveraging Newest Vulnerabilities for creating a Botnet - Check Point Research MISC research.checkpoint.com
Release 2.14.2 · laminas/laminas-http · GitHub MISC github.com Third Party Advisory
zendframework3-/zend framework3 反序列化 rce.md at main · Ling-Yizhou/zendframework3- · GitHub MISC github.com Exploit, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report