Description (CNA)
SurrealDB 3.1.0 before 3.3.0 lets Surrealism modules exhaust server memory because module stdout/stderr lines are buffered unbounded in host memory, bypassing the configured module memory limit. An attacker can run an Owner-installed malicious module that writes output without newlines, crashing the server and denying service to all namespaces and databases.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| surrealdb / surrealdb | affected 3.1.0 before 3.3.0; unaffected 3.3.0 |
| surrealdb / surrealism-runtime | affected 0.3.0 before 0.6.0; unaffected 0.6.0 |
CWE
CWE-770
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jj89-wvrw-c4gp
- https://www.vulncheck.com/advisories/surrealdb-3.1.0-before-3.3.0-memory-exhaustion-via-surrealism-module-output-buffering
ADP enrichment
No English description supplied.
No references supplied.