Vulnerability DatabaseGHSA-8jp9-mpv9-98rj

GHSA-8jp9-mpv9-98rj
PHP vulnerability analysis and mitigation

Overview

A security vulnerability was identified in amphp/http-client affecting versions 4.0.0 to 4.4.0, involving header leakage during cross-domain redirects. The vulnerability was discovered and patched on June 16, 2020, with the release of version 4.4.0. The issue has been assigned the identifier GHSA-8jp9-mpv9-98rj and is classified as a moderate severity vulnerability (GitHub Advisory).

Technical details

The vulnerability stems from a flaw in the Message::setHeaders functionality where it did not correctly replace the entire set of headers but only operated on the headers matching the given array keys. This implementation weakness could result in sensitive request headers from the initial request being leaked to the redirected host during cross-domain redirects. The vulnerability has been assigned a CVSS v3.1 score of 4.0 (Moderate) with the following vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N (GitHub Advisory).

Impact

The vulnerability could lead to the exposure of sensitive header information when requests are redirected across different domains. This could potentially compromise security by revealing sensitive information to unintended recipients (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in version 4.4.0 of amphp/http-client. Users are advised to upgrade to this version or later to address the security weakness. The fix involves correctly removing headers on redirects to different hosts (Release Notes).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management