Description (CNA)
SurrealDB versions before 3.1.0 contain a time-of-check/time-of-use race condition in the HTTP /rpc endpoint that allows unauthenticated requests to inherit authenticated session state. Unauthenticated attackers can send concurrent requests to the /rpc endpoint while legitimate authenticated traffic is active to execute operations with hijacked user privileges.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| surrealdb / surrealdb | affected 0 before 3.1.0; unaffected 3.1.0 |
CWE
CWE-362
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-4vgr-h27g-cf9p
- https://www.vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-rpc-session-race-condition
ADP enrichment
No English description supplied.
No references supplied.