Deserialization in Getlaminas Laminas-Http
CVE-2021-3007
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
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.753 (99.5th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.753 · newest: 0.753 · change: 0.000
Affected products
- Getlaminas Laminas-Http
- Zend Framework — versions 3.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/Ling-Yizhou/zendframework3-/blob/main/zend framework3 反序列化 rce.md (Exploit, Third Party Advisory)
- github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php (Patch, Third Party Advisory)
- github.com/laminas/laminas-http/pull/48 (Patch, Third Party Advisory)
- github.com/laminas/laminas-http/releases/tag/2.14.2 (Third Party Advisory)
- research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-cre… (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-3007?
- CVE-2021-3007 is a critical-severity vulnerability in Getlaminas Laminas-Http, classified under Deserialization of Untrusted Data. CVSS score: 9.8/10. Published 2021-01-04.
- How severe is CVE-2021-3007?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2021-3007 known to be exploited?
- 22 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.