Advisory

GHSA-xx8f-qf9f-5fgw

Also known as: CVE-2021-3007

Summary

Remote code execution in zendframework and laminas-http

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-06-08 20:11 UTC
Modified
2024-04-22 19:34 UTC

Affected packages and fixes

zendframework/zendframework

Packagist · All systems

Affected

  • introduced 0, last affected 3.0.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

laminas/laminas-http

Packagist · All systems

Affected

  • introduced 0, fixed 2.14.2 (ecosystem)

Fixed versions

2.14.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences