Skip to main content
← All vulnerabilities
CVE-2021-3007GHSA-XX8F-QF9F-5FGW

Laminas Project laminas-http before 2.14.2, and Zend Framework 3.0.0, has a deserialization vulnerability that can lead to remote code execu

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.14.2
3 proofs of concept on GitHub, 1 Nuclei template

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

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • zendframework/zendframeworkPackagist

    through 3.0.0

  • laminas/laminas-httpPackagist

    fixed in 2.14.2

References 9

GitHub · Ling-Yizhou/zendframework3-

GitHub · laminas/laminas-http

research.checkpoint.com

GitHub · projectdiscovery/nuclei-templates

GitHub · KrE80r/cve-2021-3007-vulnerable

GitHub · Vulnmachines/ZF3_CVE-2021-3007

GitHub · yunus-a1i/CVE-2021-3007-docker-poc