GHSA-8jp9-mpv9-98rj
4.0medium
amphp/http-client Header leakage on cross-domain redirects
- Severity
- 4.0medium CVSS:3.1 by GitHub
- Published
- Last changed
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| amphp/http-client (Packagist) | from 4.0.0 before 4.4.0 | GitHub Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-8jp9-mpv9-98rj changed 2024-11-29 | CC-BY-4.0 |