GHSA-fq4p-86hh-42v9: Zend-Diactoros URL Rewrite vulnerability
4.7
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
6/7/2024
Updated
6/7/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
zendframework/zend-diactoros | composer | >= 1.0.0, < 1.8.4 | 1.8.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from URI marshaling logic that trusted X-Rewrite-Url/X-Original-Url headers. The commit 3a4f44f explicitly removes handling of these headers in marshalUriFromSapi(), and the patch diff shows removal of HTTP_X_REWRITE_URL/HTTP_X_ORIGINAL_URL checks in this function. The CWE-352 mapping indicates this was a trust-of-unvalidated-input issue in request URI determination.