Descrizione
SurrealDB 3.0.0 before 4.0.0 contains an authorization bypass vulnerability that allows clients with table write access to persist writes refused by THROWing table events within interactive transactions. Attackers can run a guarded statement via RPC begin and query, ignore the returned error, and commit to persist the record and event side effects.
Tipo di vulnerabilità
CWE-460
Improper Cleanup on Thrown Exception
The product does not clean up its state or incorrectly cleans up its state when an exception is thrown.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Stato imprevisto, Dipende dal contesto |
Come si previene
Sviluppo
If one breaks from a loop or function by throwing an exception, make sure that cleanup happens or that you should exit the program. Use throwing exceptions sparsely.
Tutte le 27 CVE di tipo CWE-460, con andamento e prevenzione