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.
Severity (CVSS)
| Base score | 4.2 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-436 — CWE-436: Interpretation Conflict
Affected products
| Vendor | Product | Versions |
|---|---|---|
| guzzle | psr7 | < 2.12.3 |
References
- https://github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98 (x_refsource_CONFIRM)
- https://github.com/guzzle/psr7/pull/811 (x_refsource_MISC)
- https://github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580 (x_refsource_MISC)
- https://github.com/guzzle/psr7/releases/tag/2.12.3 (x_refsource_MISC)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.