VDB
Sign up
CRITICAL9.8

GHSA-xx8f-qf9f-5fgw

Remote code execution in zendframework and laminas-http

Quick fix

GHSA-xx8f-qf9f-5fgw — laminas/laminas-http: upgrade to the fixed version with the command below.

composer require laminas/laminas-http:^2.14.2

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/zendframework/zendframework
Introduced in: 0

No fixed version published yet for zendframework/zendframework (composer). Pin to a known-safe version or switch to an alternative.

Packagist/laminas/laminas-http
Introduced in: 0Fixed in: 2.14.2
Fixcomposer require laminas/laminas-http:^2.14.2

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/zendframework/zendframework"]}'