# CVE-2021-3007: Remote code execution in zendframework and laminas-http

Source: https://junglewise.ai/threats/cve-2021-3007-remote-code-execution-in-zendframework-and-laminas-http  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-06-08  
License: CC BY 4.0 with a link back

CVE-2021-3007 · Severity: low · CVSS 3.1 · Published 2021-06-08

Remote code execution in zendframework and laminas-http

Technologies: [zendframework/zendframework (Packagist)](https://junglewise.ai/threats/technologies/zendframework-zendframework). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2021-3007 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-3007 being exploited in the wild.

**How severe is CVE-2021-3007?** Low severity, with a CVSS score of 3.1, published 8 June 2021.

**Which products and versions are affected?** laminas/laminas-http (Packagist) ECOSYSTEM:introduced=0,fixed=2.14.2; zendframework/zendframework (Packagist) ECOSYSTEM:introduced=0,last_affected=3.0.0.

**Is there a fix for CVE-2021-3007?** Yes. laminas/laminas-http (Packagist): upgrade to 2.14.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-3007?** Check whether you run laminas/laminas-http (Packagist) or zendframework/zendframework (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- laminas/laminas-http (Packagist): upgrade to 2.14.2 or later

  ```sh
  composer require laminas/laminas-http:^2.14.2
  ```


## Affected products

- laminas/laminas-http (Packagist) ECOSYSTEM:introduced=0,fixed=2.14.2
- zendframework/zendframework (Packagist) ECOSYSTEM:introduced=0,last_affected=3.0.0

## Identifiers

- CVE-2021-3007
- GHSA-xx8f-qf9f-5fgw

## Related threats

- [Zendframework URL Rewrite vulnerability](https://junglewise.ai/threats/zendframework-url-rewrite-vulnerability-bb7c8eb3)
- [ZendFramework vulnerable to Cross-site Scripting](https://junglewise.ai/threats/zendframework-vulnerable-to-cross-site-scripting-904f05e6)
- [ZendFramework potential remote code execution in zend-mail via Sendmail adapter](https://junglewise.ai/threats/zendframework-potential-remote-code-execution-in-zend-mail-via-sendmail-1a5d9c99)
- [ZendFramework Potential Proxy Injection Vulnerabilities](https://junglewise.ai/threats/zendframework-potential-proxy-injection-vulnerabilities-72b48782)
- [ZendFramework Information Disclosure and Insufficient Entropy vulnerability](https://junglewise.ai/threats/zendframework-information-disclosure-and-insufficient-entropy-8b5f860e)
