CyberRota Analysis
AI-GeneratedThe FollowRedirect client middleware in Http4s versions prior to 0.23.35 and 1.0.0-M47 is vulnerable to a flaw that allows the transmission of sensitive Authorization and Cookie headers over an unencrypted HTTP connection during same-authority redirects from HTTPS. This could enable an attacker to capture these credentials if they can induce the downgrade and monitor the network traffic. Organizations using affected versions of Http4s should prioritize upgrading to the patched versions to mitigate the risk of credential exposure.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The FollowRedirect client middleware strips Authorization and Cookie headers only when a redirect changes authority, but authority comparison excludes the URI scheme. A same-authority redirect from HTTPS to HTTP therefore preserves credentials and transmits them over a plaintext connection. An attacker who can induce the downgrade and observe the network can capture those sensitive headers from applications using FollowRedirect. This issue is fixed in versions 0.23.35 and 1.0.0-M47.