Description
When the HTTP stream wrapper follows a redirect and the response carries a Location header with an empty value, the redirect code reads one byte past the end of the heap buffer holding the location. The value of that out-of-bounds byte decides which redirect target is built, so a malicious server controls whether the client is sent to the host root or to the current directory.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
PHP Group PHP
Default version status: unaffected
8.2.* to < 8.2.34affected8.3.* to < 8.3.35affected8.4.* to < 8.4.26affected8.5.* to < 8.5.11affected