Advisory

GHSA-8jp9-mpv9-98rj

Also known as: None

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-15 17:48 UTC
Modified
2024-11-29 05:28 UTC

Affected packages and fixes

amphp/http-client

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.4.0 (ecosystem)

Fixed versions

4.4.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences