guzzlehttp/psr7: Host Confusion via Weak URI Host Validation
guzzle psr7
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| guzzlehttp/psr7 Packagist |
|
|
Original description
guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Prior to 2.12.3, Uri::assertValidHost() does not reject URI host components containing authority delimiters, embedded ports, or malformed IPv6 brackets, allowing Uri::getHost() to disagree with the URI authority used for security or routing decisions. This issue is fixed in version 2.12.3.
From the CVE record · GitHub_M