guzzlehttp/guzzle is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
53
Medium Risk
The built-in cURL and stream handlers place first-class Proxy-Authorization headers in the origin header list based on Guzzle's proxy prediction rather than the route libcurl actually takes. When a request is sent directly, bypasses the proxy via no-proxy rules, uses a SOCKS proxy, or is redirected into one of those routes, the proxy credential is transmitted to the origin server instead of the proxy. This discloses a private proxy credential to an unintended and possibly attacker-controlled recipient who can then reuse it. The fix keeps managed Proxy-Authorization values out of the origin header list, routes them through libcurl's proxy-only header channel, drops the field on direct and bypassed routes, and rejects values containing CR/LF in the stream handler.
You are affected if you are using a version that falls within the vulnerable range and your application sets a first-class Proxy-Authorization header or proxy URL credentials.
guzzlehttp/guzzle is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 0.0.1 - 7.14.1.
Upgrade the guzzlehttp/guzzle library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant