Vulnerability Description
SurrealDB before 1.5.4 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Surrealdb | Surrealdb | < 1.5.4 |
Related Weaknesses (CWE)
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-gh9f-6xm2-c4j2Vendor Advisory
- https://www.vulncheck.com/advisories/surrealdb-before-authentication-bypass-via-Third Party Advisory
FAQ
What is CVE-2024-58363?
CVE-2024-58363 is a vulnerability with a CVSS score of 6.3 (MEDIUM). SurrealDB before 1.5.4 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 unr...
How severe is CVE-2024-58363?
CVE-2024-58363 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-58363?
Check the references section above for vendor advisories and patch information. Affected products include: Surrealdb Surrealdb.