NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

GHSA-8jp9-mpv9-98rj: amphp/http-client Header leakage on cross-domain redirects

mediumCVSS 3.1 4.0

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.

Published May 15, 2024

Affected packages

amphp/http-client

Ecosystem
Composer (PHP)
Affected
>= 4.0.0, < 4.4.0
Fixed in
4.4.0
Check
composer show amphp/http-client

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries