Hubuum client library (Rust): Authenticated requests may escape the configured base path through redirects
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-200.
Summary
## Impact The built-in async and blocking clients used reqwest's default redirect policy. `BaseUrl` constrains the initial request to the configured origin and path prefix, but redirect processing occurs after that validation. reqwest retains sensitive headers when a redirect changes only the path on the same scheme, host, and port. A redirect from a Hubuum endpoint to another path on a shared origin could therefore carry the bearer `Authorization` header outside the configured Hubuum path prefix. Exploitation requires an attacker, compromised server, or intermediary to influence a 3xx response. Cross-origin redirects are not affected because reqwest strips sensitive headers when scheme, host, or port changes. ## Patches Version 0.6.1 configures both built-in HTTP clients with `reqwest::redirect::Policy::none()`. Redirect responses are returned as 3xx API errors instead of being followed. Supplying a preconfigured reqwest client remains an explicit opt-in to that client's redirect policy. ## Workarounds On affected versions, construct a reqwest client with `reqwest::redirect::Policy::none()` and pass it through `with_http_client`. Deployments can also reduce exposure by ensuring the Hubuum origin is not shared with other applications and that trusted infrastructure never redirects API requests outside the configured path prefix.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | hubuum_client (crates.io) | 0.0.1 to before 0.6.1 | 0.6.1 | Patch available | GHSA-f45q-w629-wr25 |
- hubuum_client (crates.io) Vendor— Affected 0.0.1 to before 0.6.1 Fixed in 0.6.1 Patch available GHSA-f45q-w629-wr25
Remediation
- Fix · GHSA-f45q-w629-wr25 hubuum_client (crates.io) Fixed in 0.6.1 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-f45q-w629-wr25
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences