---
cve: "CVE-2021-3007"
severity: "CRITICAL"
cvss: 9.8
epss: "75.3%"
vendor: "n/a"
kev: false
exploited: false
published: "2021-01-04 03:15:13"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-10-29T17:44:58+01:00"
---

# CVE-2021-3007

> 9.8 CRITICAL · 🧪 PoC

## Beschreibung

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

## CNA-Record (Kanon, cvelistV5)

- CNA: **mitre**
- State: PUBLISHED
- Stand: 2024-08-03 16:45:50

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 298f732e1acb031db70ea4fd2133a283b2a4a65e

## Referenzen

- <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>
- <https://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php>
- <https://github.com/laminas/laminas-http/pull/48>
- <https://github.com/laminas/laminas-http/releases/tag/2.14.2>
- <https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/sicherheitsluecken/cve-2021-3007/) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
