GHSA-fh7r-58q4-6387
Zendframework URL Rewrite vulnerability
Quick fix
GHSA-fh7r-58q4-6387 — zendframework/zendframework: upgrade to the fixed version with the command below.
composer require zendframework/zendframework:^2.5.0Details
zend-diactoros (and, by extension, Expressive), zend-http (and, by extension, Zend Framework MVC projects), and zend-feed (specifically, its PubSubHubbub sub-component) each contain a potential URL rewrite exploit. In each case, marshaling a request URI includes logic that introspects HTTP request headers that are specific to a given server-side URL rewrite mechanism.
When these headers are present on systems not running the specific URL rewriting mechanism, the logic would still trigger, allowing a malicious client or proxy to emulate the headers to request arbitrary content.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 2.5.0composer require zendframework/zendframework:^2.5.0References
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"]}'