Live threats

All CVEs / Getlaminas

CVE-2021-3007Getlaminas Laminas-http

Critical 9.8 No auth neededHigh EPSS

Priority
81
CVSS 3.1
9.8
EPSS
75.3%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Jan 4, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Laminas-http.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist laminas/laminas-http < 2.14.2 2.14.2 composer require "laminas/laminas-http:^2.14.2"
Packagist zendframework/zendframework ≤ 3.0.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-xx8f-qf9f-5fgw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
getlaminaslaminas-http< 2.14.2
zendzend_framework3.0.0

Official sources

References

Links published by the sources. Open them with care.