CVE-2024-58362
SurrealDB before 1.5.5 Query Injection via RPC API
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 1.5.2 | surrealdb-core · -676 d desde divulgación | |
| Remediación | Parche 1.5.5 | surrealdb · -675 d desde divulgación | |
| Remediación | Parche 2.0.0 | surrealdb · -669 d desde divulgación | |
| Divulgación | Publicada | CVE-2024-58362 divulgada · CVSS 8.7 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
SurrealDB before 1.5.5 (and 2.0.0-beta before 2.0.0-beta.3) accepts an arbitrary object in the signin and signup operations of the RPC API without recursively validating it for non-computed values. When a record access method defines a SIGNIN or SIGNUP query and the RPC API is exposed to untrusted users, an unauthenticated attacker can encode a binary object containing a subquery using the bincode serialization format and supply it in place of credentials. The subquery is then executed within the database owner's SIGNIN/SIGNUP query under a system user session with the editor role, allowing the attacker to select, create, update, and delete non-IAM resources (though not view the query results directly, and not affect IAM resources, which require the owner role).
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.iosurrealdb |
Corregida | 1.5.5, 2.0.0 | -675 d · -669 d | 4.0.1 no afectada |
crates.iosurrealdb-core |
Corregida | 1.5.2 | -676 d | 4.0.1 no afectada |
1.5.21.5.52.0.0-beta.32.0.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-64f8-pjgr-9wmrhttps://www.vulncheck.com/advisories/surrealdb-before-query-injection-via-rpc-apiLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
