CVE-2021-3007
CriticalExploitedRemote code execution in zendframework and laminas-http
Published Jun 8, 2021 · Updated Jul 9, 2026 · Also known as GHSA-xx8f-qf9f-5fgw
Key Facts
Patch immediately- CVE-2021-3007 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Laminas-HTTP (Getlaminas), Zend Framework, laminas/laminas-http (composer) and 1 more product.
- It is exploited in the wild, listed in Industry KEV feed since Jan 14, 2021. No public exploit code is known.
- EPSS estimates a 75% probability of exploitation in the next 30 days.
- Fixed versions are available, including Laminas-HTTP 2.14.2, laminas/laminas-http 2.14.2.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
75%
Higher than 99.5% of all scored CVEs
Exploited in the wild
Yes
1 catalog listing
Public exploit code
None known
Get the full CVE-2021-3007 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Jan 14, 2021 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Laminas-HTTPGetlaminas | See advisory | 2.14.2 |
| Zend FrameworkZend | 3.0.0 | n/a |
| laminas/laminas-httpcomposer | See advisory | 2.14.2 |
| zendframework/zendframeworkcomposer | See advisory | n/a |
Patched Releases
Laminas-HTTP
2.14.2
laminas/laminas-http
2.14.2
Timeline
Added to Industry KEV feed
Jan 14, 2021
Publicly disclosed
Jun 8, 2021
Last updated
Jul 9, 2026
Weakness Type
- CWE-502 Deserialization of Untrusted Data
References
- advisoryGHSA advisory
- advisoryhttps://github.com/laminas/laminas-http/releases/tag/2.14.2
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-3007
- advisoryhttps://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet
- patchhttps://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php
FAQ
Common Questions.
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.
Affected: Laminas-HTTP (Getlaminas); Zend Framework versions 3.0.0; laminas/laminas-http (composer), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Jan 14, 2021.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Laminas-HTTP 2.14.2, laminas/laminas-http 2.14.2.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2021-3007 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo