CVE-2021-3007: getlaminas laminas-http Deserialization of Untrusted Data
Vulnerability summary
CVE-2021-3007 is a critical (CVSS 9.8) Deserialization of Untrusted Data vulnerability in getlaminas laminas-http. EPSS estimates a 75.31% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 04-01-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
75.31%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 75.31% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundZendframework3
Maturity: poc
Exploit Reference (research.checkpoint.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Getlaminas1 product
- laminas-http< 2.14.2
Zend1 product
- zend_framework3.0.0
2 vendors · 2 products
References
5 links- github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.phpX Refsource MISCPatchThird Party Advisory
- research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/X Refsource MISCExploitThird Party Advisory