# GHSA-cg8w-5jrc-675g: Zend-HTTP URL Rewrite vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-06-07T21:52:12.000Z
- Modified: 2024-12-04T05:50:28.310Z
- Weaknesses: CWE-352

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- zendframework/zend-http (Packagist): from 1.0.0 before 2.8.1

## References

- <https://github.com/zendframework/zend-http/commit/44197164a270259116162a442f639085ea24094a> (web)
- <https://github.com/zendframework/zend-http/commit/5234f4a9e8137b731ab95d6a17879d4eb8fb9e39> (web)
- <https://framework.zend.com/security/advisory/ZF2018-01> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-http/ZF2018-01.yaml> (web)
- <https://github.com/zendframework/zend-http> (package)

## Sources

- GitHub Advisory Database: [GHSA-cg8w-5jrc-675g](https://github.com/advisories/GHSA-cg8w-5jrc-675g), CC-BY-4.0, modified 2024-12-04

---

Page: https://cve.day/GHSA-cg8w-5jrc-675g · Whole record: https://cve.day/GHSA-cg8w-5jrc-675g.json · Rebuilt by cve.day 2026-11-25T22:56:31.888Z
