CVE Catalog

CVE-2024-58363

MediumCVSS 6.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

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

Summary

SurrealDB before 1.5.4 and 2.0.0-alpha.1 before 2.0.0-alpha.6 fails to properly validate authentication when a scope user switches databases using the USE clause or use method. An attacker with an authenticated session can impersonate an unrelated user in a different database if a user record with an identical identifier exists.

Risk Assessment

An attacker can perform unauthorized actions in another database if permissions rely solely on the $auth parameter. The risk affects SurrealDB deployments with multiple databases and scope users.

Recommendation

Update SurrealDB to version 1.5.4 or 2.0.0-alpha.6 (or later). Do not rely solely on the $auth parameter for access control.

Other vulnerabilities in SurrealDB

See all
Original NVD description (English source)

SurrealDB before 1.5.4 and 2.0.0-alpha.1 before 2.0.0-alpha.6 fails to properly validate authentication when a scope user switches databases using the USE clause or use method. Attackers with an authenticated session can impersonate an unrelated user in a different database if a user record with an identical identifier exists, allowing unauthorized actions if permissions rely solely on the $auth parameter.

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