SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.2.6 and 2.3.6.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| surrealdb | <=2.1.7, >=2.2.0 <2.2.6, >=2.3.0 <2.3.6, >=3.0.0-alpha.1 <=3.0.0-alpha.7 | 2.2.6, 2.3.6 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket