http4s: FollowRedirect exposes sensitive headers on same-authority HTTPS-to-HTTP redirects
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| maven:org.http4s:http4s-client_2.12 | < 0.23.35 | 0.23.35 |
| maven:org.http4s:http4s-client_2.13 | < 0.23.35 | 0.23.35 |
| maven:org.http4s:http4s-client_3 | < 0.23.35 | 0.23.35 |
| maven:org.http4s:http4s-client_2.13 | >= 1.0.0-M2, < 1.0.0-M47 | 1.0.0-M47 |
| maven:org.http4s:http4s-client_3 | >= 1.0.0-M2, < 1.0.0-M47 | 1.0.0-M47 |
The FollowRedirect client middleware strips sensitive headers (e.g., Authorization, Cookie) headers only when the redirect target has a different authority. Because authority excludes the scheme, a redirect from https://example.com to http://example.com (same authority) is treated as same-origin, and the sensitive headers are propagated over the plaintext hop where a network observer can capture them. Impact Disclosure of Authorization / Cookie credentials in cleartext to a network observer whe…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/12/01 03:30,GitHub Advisory Database 发布了“http4s: FollowRedirect exposes sensitive headers on same-authority HTTPS-to-HTTP redirects”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Java。CVE:CVE-2026-69212。