Every CVESearch/Get API key

GHSA-8jp9-mpv9-98rj

amphp/http-client Header leakage on cross-domain redirects

4.0 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

What each source reports

GitHub Advisories Score used4.0

amphp/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.

Record
GHSA-8jp9-mpv9-98rj
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02
OSV4.0

amphp/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.

Record
GHSA-8jp9-mpv9-98rj
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
amphp/http-client
Packagist
4.0.0 up to 4.4.0
4.4.0
amphp/http-client
Packagist
4.0.0 up to 4.4.0, plus listed versions
v4.0.0v4.1.0v4.1.0-rc1v4.2.0v4.2.1v4.2.2v4.3.0v4.3.1
4.4.0

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-8jp9-mpv9-98rj is a medium vulnerability (CVSS 4.0) in amphp/http-client, published May 15, 2024. No source lists public exploit code. Fixed in amphp/http-client 4.4.0.

References

MoveEnter Open