Description
Guzzle (guzzlehttp/guzzle) before 7.16.3 accepts bracketed request URI hosts that are not IP literals, such as [127.0.0.1]:6379], while PHP's stream transport connects to the host and port inside and after the brackets, regardless of what Uri::getHost() and Uri::getPort() report. Attackers who influence a fetched URI or redirect target can bypass application host and port checks, causing StreamHandler to reach excluded loopback hosts or ports for server-side request forgery.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
guzzle guzzle
Default version status: unaffected
0 to < 7.16.3affected7.16.3unaffected