NetSight
medium8.8No CVE yet

GHSA-vp9r-94xg-q7q8

Duplicate Advisory: SurrealDB allows bypass of deny-net flags via DNS resolution

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-m3c3-78fh-w3w7. This link is maintained to preserve external references. ## Original Description SurrealDB before 2.2.6, 2.3.6, and 2.1.8 (and 3.0.0-alpha.7 and earlier) fails to validate DNS-resolved hostnames against --deny-net network access restrictions in its http::* functions. An authenticated user can invoke http::<fn>(<url>) with a hostname that resolves to a denied IP address, causing the server to issue the request anyway and return the response. This bypasses network access controls, allowing access to restricted internal endpoints and potentially retrieving or altering sensitive information and credentials, depending on the deployment.

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, high risk of data or systems being changed, high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
rustsurrealdb>= 2.1.0, <= 2.1.7none recorded

Weakness classification

References