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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| guzzle | psr7 | < 2.12.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | php-guzzlehttp-psr7 | 2.12.3-1 | — |
| Debian 13 | php-guzzlehttp-psr7 | No fix yet | — |
| Debian 12 | php-guzzlehttp-psr7 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | php-guzzlehttp-psr7 | No fix yet | — |
| Ubuntu 25.10 | php-guzzlehttp-psr7 | No fix yet | — |
| Ubuntu 24.04 LTS | php-guzzlehttp-psr7 | No fix yet | — |
| Ubuntu 20.04 LTS | php-guzzlehttp-psr7 | No fix yet | — |
| Ubuntu 16.04 LTS | php-guzzlehttp-psr7 | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | php-guzzlehttp-psr7 | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | guzzlehttp/psr7 | < 2.12.3 | 2.12.3 | GHSA-c2w2-prh8-qm98 |