GHSA-8jp9-mpv9-98rj
JSON

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 packageVersionsReported by
amphp/http-client (Packagist)from 4.0.0 before 4.4.0GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-8jp9-mpv9-98rj changed 2024-11-29CC-BY-4.0