Vulnerability 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
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Getlaminas | Laminas-Http | < 2.14.2 |
| Zend | Zend Framework | 3.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/Ling-Yizhou/zendframework3-/blob/main/zend%20framework3%20%E5ExploitThird Party Advisory
- https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.phpPatchThird Party Advisory
- https://github.com/laminas/laminas-http/pull/48PatchThird Party Advisory
- https://github.com/laminas/laminas-http/releases/tag/2.14.2Third Party Advisory
- https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-ExploitThird Party Advisory
- https://github.com/Ling-Yizhou/zendframework3-/blob/main/zend%20framework3%20%E5ExploitThird Party Advisory
- https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.phpPatchThird Party Advisory
- https://github.com/laminas/laminas-http/pull/48PatchThird Party Advisory
- https://github.com/laminas/laminas-http/releases/tag/2.14.2Third Party Advisory
- https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-ExploitThird Party Advisory
FAQ
What is CVE-2021-3007?
CVE-2021-3007 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 __destru...
How severe is CVE-2021-3007?
CVE-2021-3007 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-3007?
Check the references section above for vendor advisories and patch information. Affected products include: Getlaminas Laminas-Http, Zend Zend Framework.