Description
SurrealDB before 3.1.0 contains a capability bypass vulnerability in HTTP redirect handling that allows authenticated users to circumvent port-scoped --deny-net rules. Attackers can chain an HTTP redirect from an allowed hostname to a denied host:port combination, and the redirect is followed because the port information is dropped during redirect policy evaluation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| surrealdb | surrealdb | < 3.1.0 | 3.1.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | surrealdb | < 3.1.0 | 3.1.0 | GHSA-97vg-427p-8hx5 |
References
- GitHub Security Advisory (GHSA-97vg-427p-8hx5) vendor-advisory
- VulnCheck Advisory: SurrealDB before 3.1.0 Port-Specific Deny Rule Bypass via HTTP Redirect third-party-advisory