CVE-2021-3007: Critical severity getlaminas Laminas-http vulnerability

Published Jan 4, 2021
·
Updated

DISPUTED 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 Software

4 affected componentsFixes available
composer/laminas/laminas-http<2.14.2
2.14.2
composer/zendframework/zendframework<=3.0.0
getlaminas Laminas-http<2.14.2
Zend Zend Framework=3.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/laminas/laminas-http to a version that resolves this vulnerability.

    Fixed in 2.14.2

Event History

Jan 4, 2021
CVE Published
via MITRE·02:26 AM
Data Sourced
via MITRE·02:26 AM
Description
Disputed
03:15 AM
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 8, 2021
Advisory Published
via GitHub·08:11 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2021-3007.

2

What is the severity level of CVE-2021-3007?

The severity level of CVE-2021-3007 is critical (9.8).

3

Which software packages are affected by CVE-2021-3007?

The affected software packages are Laminas Project laminas-http before version 2.14.2 and Zend Framework version 3.0.0.

4

How can CVE-2021-3007 be exploited?

CVE-2021-3007 can be exploited through a deserialization vulnerability in the __destruct method of the Zend\Http\Response\Stream class in Stream.php.

5

How can I fix CVE-2021-3007?

To fix CVE-2021-3007, update Laminas Project laminas-http to version 2.14.2 or higher and update Zend Framework to version 3.0.1 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203