What’s Vulnerable › Vulnerabilities

CVE-2021-3007

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

Affected products

How to fix

Upgrade to a fixed version: Getlaminas Laminas-Http 2.14.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-3007 or the next vulnerability affects your stack