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?
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
