GHSA-8jp9-mpv9-98rj
MEDIUM 4.0CVSS 3.1amphp/http-client Header leakage on cross-domain redirects
amphp/http-client has a security weakness that might leak sensitive request headers from the initial request to the redirected host on cross-domain redirects, which were not removed correctly. Message::setHeaders does not replace the entire set of headers, but only operates on the headers matching the given array keys.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | amphp/http-client | >= 4.0.0, < 4.4.0 | 4.4.0 |
References
- https://github.com/amphp/http-client/commit/fa7925363e6d5a0d0d337e2e6eb1affb93cf226e · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/amphp/http-client/2020-06-16.yaml · WEB
- https://github.com/amphp/http-client · PACKAGE
- https://github.com/amphp/http-client/releases/tag/v4.4.0 · WEB
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 May 2024)