GHSA-8jp9-mpv9-98rj amphp/http-client Header leakage on cross-domain redirects
MediumCVSS 4.0
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| amphp/http-client(Packagist) | = v4.0.0; = v4.1.0; = v4.1.0-rc1; = v4.2.0 +5 more | 4.4.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| amphp/http-client(Packagist) | >= 4.0.0, < 4.4.0 | 4.4.0 |
| amphp/http-client(Packagist) | = v4.0.0 | No fix listed |
| amphp/http-client(Packagist) | = v4.1.0 | No fix listed |
| amphp/http-client(Packagist) | = v4.1.0-rc1 | No fix listed |
| amphp/http-client(Packagist) | = v4.2.0 | No fix listed |
| amphp/http-client(Packagist) | = v4.2.1 | No fix listed |
| amphp/http-client(Packagist) | = v4.2.2 | No fix listed |
| amphp/http-client(Packagist) | = v4.3.0 | No fix listed |
| amphp/http-client(Packagist) | = v4.3.1 | No fix listed |
References
- github.com patch
- github.com
- github.com product
- github.com
- github.com