CVE-2021-3007
CVSS V2 High 7.5
CVSS V3 Critical 9.8
Description
** DISPUTED ** 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.
Overview
- CVE ID
- CVE-2021-3007
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-01-04T03:15:13
- Last Modified Date
- 2022-05-27T13:28:40
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:getlaminas:laminas-http:*:*:*:*:*:*:*:* | 1 | OR | 2.14.2 | |
cpe:2.3:a:zend:zend_framework:3.0.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php | Patch Third Party Advisory |
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 | Exploit Third Party Advisory |
https://github.com/laminas/laminas-http/pull/48 | Patch Third Party Advisory |
https://github.com/laminas/laminas-http/releases/tag/2.14.2 | Third Party Advisory |
https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-3007 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3007 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:27:00 | Added to TrackCVE | |||
2022-12-05 19:18:27 | 2021-01-04T03:15Z | 2021-01-04T03:15:13 | CVE Published Date | updated |
2022-12-05 19:18:27 | 2022-05-27T13:28:40 | CVE Modified Date | updated | |
2022-12-05 19:18:27 | Analyzed | Vulnerability Status | updated |