Skip to content
Fencer Vulns
critical 9.8

CVE-2021-3007 in the critical feed json

Remote code execution in zendframework and laminas-http

published 2021-01-04 5 y ago modified 2026-06-17 4 mo ago also GHSA-xx8f-qf9f-5fgw , EUVD-2021-1428

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
75.3%
EPSS 75.3% chance of exploitation in 30 days, percentile 99.5%
public exploits
0
none known, plus a Nuclei check

Summary

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

Patch / fix

  • packagist laminas/laminas-http 2.14.2
  • getlaminas laminas-http 2.14.2

Exploit prediction

75.31% chance of exploitation in the next 30 days, higher than 99.5% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Laminas Project laminas-http - Remote Code Execution nuclei detection template
  • github.com https://github.com/Ling-Yizhou/zendframework3-/blob/main/zend%20framework3%20%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96%20rce.md referenced PoC, tagged "exploit" by a source, unverified
  • research.checkpoint.com https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist zendframework/zendframework
<=3.0.0
no fix listed
packagist laminas/laminas-http
<2.14.2
2.14.2

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.