GHSA-xhwm-9486-8rgr
Duplicate Advisory: SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)
Impact
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-5q9x-554g-9jgg. This link is maintained to preserve external references. ## Original Description SurrealDB before 2.2.2 fails to validate HTTP redirects in http functions, allowing authenticated users to bypass deny-net restrictions by redirecting to blocked IP addresses. Attackers can host a public server that redirects to denied network targets, enabling server-side request forgery to access internal endpoints and retrieve sensitive information.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, low risk of data or systems being changed, low risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | surrealdb | < 2.0.5 | none recorded |