CVE-2025-71391
7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Summary
SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. Attackers can send crafted HTTP queries containing null bytes to the /sql endpoint, causing an unhandled exception that crashes the SurrealDB instance and any dependent applications.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| surrealdb | surrealdb | 0 < 2.2.2 | affected |
| surrealdb | surrealdb | 2.2.2 | unaffected |
| surrealdb | surrealdb | 0 < 2.1.5 | affected |
| surrealdb | surrealdb | 2.1.5 | unaffected |
| surrealdb | surrealdb | 0 < 2.0.5 | affected |
| surrealdb | surrealdb | 2.0.5 | unaffected |
Weaknesses
- CWE-248: Uncaught Exception
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-rq86-9m6r-cm3g
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-sql-endpoint
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.