p PatchFirst

GHSA-8jp9-mpv9-98rj

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.0 · Medium · Fix available

Published
Updated

Stack: php

Affected products and versions

  • amphp/http-client Packagist

    Versions
    • v4.0.0
    • v4.1.0
    • v4.1.0-rc1
    • v4.2.0
    • v4.2.1
    • v4.2.2
    • v4.3.0
    • v4.3.1
    Affected ranges
    • ECOSYSTEM: ≥ 4.0.0, < 4.4.0

    Update to 4.4.0

Original sources

Check your server →