logo

GHSA-8jp9-mpv9-98rj amphp/http-client

Package

Manager: composer
Name: amphp/http-client
Vulnerable Version: >=4.0.0 <4.4.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:N/SA:N

EPSS: N/A pctlN/A

Details

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.

Metadata

Created: 2024-05-15T17:48:10Z
Modified: 2024-05-15T17:48:10Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-8jp9-mpv9-98rj/GHSA-8jp9-mpv9-98rj.json
CWE IDs: []
Alternative ID: N/A
Finding: F017
Auto approve: 1