VDB
Sign up
HIGH

GHSA-f6p5-76fp-m248

URL Rewrite vulnerability in multiple zendframework components

Quick fix

GHSA-f6p5-76fp-m248 — zendframework/zend-diactoros: upgrade to the fixed version with the command below.

composer require zendframework/zend-diactoros:^1.8.4

Details

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

Packagist/zendframework/zend-diactoros
Introduced in: 0Fixed in: 1.8.4
Fixcomposer require zendframework/zend-diactoros:^1.8.4
Packagist/zendframework/zend-feed
Introduced in: 0Fixed in: 2.10.3
Fixcomposer require zendframework/zend-feed:^2.10.3
Packagist/zendframework/zend-http
Introduced in: 0Fixed in: 2.8.1
Fixcomposer require zendframework/zend-http:^2.8.1

References