GHSA-8jp9-mpv9-98rj
GHSA-8jp9-mpv9-98rj · amphp/http-client Header leakage on cross-domain redirects
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 4.0 · Medium · Fix available
- Published
- Updated
Stack: php
Affected products and versions
amphp/http-client Packagist
- Versions
- v4.0.0
- v4.1.0
- v4.1.0-rc1
- v4.2.0
- v4.2.1
- v4.2.2
- v4.3.0
- v4.3.1
- Affected ranges
- ECOSYSTEM: ≥ 4.0.0, < 4.4.0
Update to 4.4.0
Original sources
- https://github.com/amphp/http-client/commit/fa7925363e6d5a0d0d337e2e6eb1affb93cf226e
- https://github.com/FriendsOfPHP/security-advisories/blob/master/amphp/http-client/2020-06-16.yaml
- https://github.com/amphp/http-client
- https://github.com/amphp/http-client/releases/tag/v4.4.0
- https://osv.dev/vulnerability/GHSA-8jp9-mpv9-98rj