CVE-2025-71390
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 restriction…
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | SurrealDB | >= 2.1.0, <= 2.1.7 | 2.1.8 |
Betroffene Produkte · Surrealdb
| Produkt | Betroffene Versionen |
|---|---|
| Surrealdb | vor 2.1.8 ab 2.2.0 vor 2.2.6 ab 2.3.0 vor 2.3.6 Version 3.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-m3c3-78fh-w3w7
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m3c3-78fh-w3w7
- https://nvd.nist.gov/vuln/detail/CVE-2025-71390
- https://github.com/surrealdb/surrealdb/pull/6101
- https://github.com/surrealdb/surrealdb/pull/6119
- https://github.com/surrealdb/surrealdb/pull/6120
- https://github.com/surrealdb/surrealdb/pull/6121
- https://github.com/surrealdb/surrealdb/commit/4b317d850c7dabaee228144423741097232f7955
- https://github.com/surrealdb/surrealdb/commit/7c574dfa90211923e2ff1b12510c8479f8805b3d
- https://github.com/surrealdb/surrealdb/commit/b80d7d08b043c0e4bc0b7ff8ddb9be0907c0bf59
- https://github.com/surrealdb/surrealdb/commit/d5dc46f1c255ed450b3af025a0bdc165b6ce54a3
- https://www.vulncheck.com/advisories/surrealdb-before-deny-net-bypass-via-dns-resolution