CVE Catalog

CVE-2024-58362

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

31th percentile - higher than 31% of all known CVEs

Summary

Vulnerability in SurrealDB before version 1.5.5 (and 2.0.0-beta before 2.0.0-beta.3) in the RPC API. An unauthenticated attacker can supply a binary object with a subquery in place of credentials, leading to execution of the subquery in the context of the database owner with editor role.

Risk Assessment

Risk includes the ability for an attacker to select, create, update, and delete non-IAM resources, potentially leading to data integrity compromise.

Recommendation

Update SurrealDB to version 1.5.5 or later (or 2.0.0-beta.3 for beta versions). Restrict access to the RPC API to trusted users only.

Other vulnerabilities in SurrealDB

See all
Original NVD description (English source)

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).

Vulnerability data from NVD (NIST) · CISA KEV · EPSS