Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. laminas/laminas-http
  4. ›
  5. CVE-2021-3007

CVE-2021-3007: Deserialization of Untrusted Data

January 4, 2021 (updated November 7, 2023)

Laminas Project laminas-http 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-3007

Code Behaviors & Features

Detect and mitigate CVE-2021-3007 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.14.2

Fixed versions

  • 2.14.2

Solution

Upgrade to version 2.14.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

packagist/laminas/laminas-http/CVE-2021-3007.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:11 +0000.