CVE-2024-58359 SurrealDB before 2.1.0 Denial of Service via rand() Sorting
HighCVSS 7.1
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
SurrealDB versions before 2.1.0 contain a denial of service vulnerability in the sorting mechanism when using ORDER BY rand() clause. Authorized clients can execute queries with ORDER BY rand() to trigger a panic in the sorting function, crashing the server.
Upgrade path
5 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | < 2.1.0 | 2.1.0 | Fixed |
| crates.io surrealdb(crates.io) | < 2.1.0 | 2.1.0 | Fixed |
| crates.io surrealdb-core | < 2.1.0 | 2.1.0 | Fixed |
| crates.io surrealdb-core(crates.io) | < 2.1.0 | 2.1.0 | Fixed |
| surrealdb | < 2.1.0 | 2.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb(crates.io) | < 2.1.0 | 2.1.0 |
| crates.io surrealdb-core(crates.io) | < 2.1.0 | 2.1.0 |
| crates.io surrealdb | < 2.1.0 | 2.1.0 |
| crates.io surrealdb-core | < 2.1.0 | 2.1.0 |
| surrealdb | < 2.1.0 | 2.1.0 |
References
- GitHub Security Advisory (GHSA-m52v-24p8-654f) vendor-advisory
- github.com
- github.com patch
- github.com patch
- github.com patch
- github.com product
- github.com
- VulnCheck Advisory: SurrealDB before 2.1.0 Denial of Service via rand() Sorting third-party-advisory