Skip to content
Vulnerability Intelligence

CVE-2021-3007

CriticalExploited

Remote code execution in zendframework and laminas-http

Published Jun 8, 2021 · Updated Jul 9, 2026 · Also known as GHSA-xx8f-qf9f-5fgw

Key Facts

Patch immediately
  • CVE-2021-3007 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Laminas-HTTP (Getlaminas), Zend Framework, laminas/laminas-http (composer) and 1 more product.
  • It is exploited in the wild, listed in Industry KEV feed since Jan 14, 2021. No public exploit code is known.
  • EPSS estimates a 75% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Laminas-HTTP 2.14.2, laminas/laminas-http 2.14.2.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v3.1

9.8

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

EPSS (30-day exploit likelihood)

75%

Higher than 99.5% of all scored CVEs

Exploited in the wild

Yes

1 catalog listing

Public exploit code

None known

Get the full CVE-2021-3007 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

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

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedJan 14, 2021n/aNot reported

Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Affected Products

4 affected entries in total
ProductAffected versionsFixed in
Laminas-HTTPGetlaminasSee advisory2.14.2
Zend FrameworkZend3.0.0n/a
laminas/laminas-httpcomposerSee advisory2.14.2
zendframework/zendframeworkcomposerSee advisoryn/a

Patched Releases

Laminas-HTTP

2.14.2

laminas/laminas-http

2.14.2

Timeline

  1. Added to Industry KEV feed

    Jan 14, 2021

  2. Publicly disclosed

    Jun 8, 2021

  3. Last updated

    Jul 9, 2026

Weakness Type

  • CWE-502 Deserialization of Untrusted Data

References

7 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2021-3007 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo