← Back to CVEs
CVE-2021-3007
CRITICAL9.8
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
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published1/4/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
getlaminas:laminas-httpzend:zend_framework
Weaknesses (CWE)
CWE-502
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(cve@mitre.org)
https://github.com/laminas/laminas-http/pull/48(cve@mitre.org)
https://github.com/laminas/laminas-http/releases/tag/2.14.2(cve@mitre.org)
https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/(cve@mitre.org)
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(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/laminas/laminas-http/pull/48(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/laminas/laminas-http/releases/tag/2.14.2(af854a3a-2127-422b-91ae-364da2661108)
https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.