Patchfirst
CVE-2021-3007 Public exploit EPSS 75.3%

Laminas Project laminas-http before 2.14.2, and Zend Framework 3.0.0, has a deserialization vulnerability that can…

Fix:upgrade laminas-http Versions ↓

Summary

The flaw is a deserialization vulnerability in the __destruct method of the Zend\Http\Response\Stream class (Stream.php), affecting laminas-http before 2.14.2 and Zend Framework 3.0.0, in the Laminas Project. An attacker who can control the content being deserialized may achieve remote code execution, though the vendor notes that exploitation requires an unrecommended use case in which attacker-supplied data is deserialized.

Official description · CVE.org

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

Breakdown
61.3 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 10 days after disclosure. Public exploit code (PoC-in-GitHub) appeared 4 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+10 days
  3. Public exploit codePoC-in-GitHub+4 mo

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. No single main package: each of these ships the affected code.

  • Packagistlaminas/laminas-http
    Affected: All versions before 2.14.2Upgrade to 2.14.2 or later
  • Packagistzendframework/zendframework
    Affected: 3.0.0 and earlierNo fixed version published

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 3 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

5 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close