CVE-2021-3007
Last modified
CVE-2021-3007 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 75.31% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Getlaminas | Laminas-Http | < 2.14.2 |
| Zend | Zend Framework | 3.0.0 |
References
- https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.phpPatch, Third Party Advisory
- https://github.com/laminas/laminas-http/pull/48Patch, Third Party Advisory
- https://github.com/laminas/laminas-http/releases/tag/2.14.2Third Party Advisory
- https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/Exploit, Third Party Advisory
- https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.phpPatch, Third Party Advisory
- https://github.com/laminas/laminas-http/pull/48Patch, Third Party Advisory
- https://github.com/laminas/laminas-http/releases/tag/2.14.2Third Party Advisory
- https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3007?
How severe is CVE-2021-3007?
How do I fix CVE-2021-3007?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-30061On Schneider Electric ConneXium Tofino Firewall TCSEFEA23F3F…6.8
- CVE-2021-30062On Schneider Electric ConneXium Tofino OPCLSM TCSEFM0000 bef…7.5
- CVE-2021-30063On Schneider Electric ConneXium Tofino OPCLSM TCSEFM0000 bef…7.5
- CVE-2021-30064On Schneider Electric ConneXium Tofino Firewall TCSEFEA23F3F…9.8
- CVE-2021-30065On Schneider Electric ConneXium Tofino Firewall TCSEFEA23F3F…7.5
- CVE-2021-30066On Schneider Electric ConneXium Tofino Firewall TCSEFEA23F3F…6.8
- CVE-2021-30070An issue was discovered in HestiaCP before v1.3.5. Attackers…7.5
- CVE-2021-30071A cross-site scripting (XSS) vulnerability in /admin/list_ke…6.1
- CVE-2021-30072An issue was discovered in prog.cgi on D-Link DIR-878 1.30B0…9.8
- CVE-2021-30074docsify 4.12.1 is affected by Cross Site Scripting (XSS) bec…6.1
- CVE-2021-30080An issue was discovered in the route lookup process in beego…9.8
- CVE-2021-30081An issue was discovered in emlog 6.0.0stable. There is a SQL…8.8
Are you affected by CVE-2021-3007?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
