CVE-2024-58362
Last modified
CVE-2024-58362 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealdb | < 1.5.5; >= 2.0.0-beta.1, < 2.0.0-beta.3 |
| surrealdb | surrealdb | < 1.5.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2024-58362?
How severe is CVE-2024-58362?
How do I fix CVE-2024-58362?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-58357SurrealDB versions before 2.1.0 contain an uncaught exceptio…7.1
- CVE-2024-58358SurrealDB versions before 2.1.0 contain a denial of service …6.9
- CVE-2024-58359SurrealDB versions before 2.1.0 contain a denial of service …7.1
- CVE-2024-5836Inappropriate Implementation in DevTools in Google Chrome pr…8.8
- CVE-2024-58360stoatchat versions before 0.7.8 fail to enforce account crea…6.9
- CVE-2024-58361SurrealDB versions before 2.0.4 contain an uncaught exceptio…7.1
- CVE-2024-58363SurrealDB before 1.5.4 fails to properly validate authentica…6.3
- CVE-2024-58364SurrealDB versions before 1.2.1 contain an uncaught exceptio…6.5
- CVE-2024-58365SurrealDB versions before 1.2.0 contain an uncaught exceptio…7.1
- CVE-2024-58366SurrealDB before 1.1.1 contains a format string vulnerabilit…9
- CVE-2024-58367SurrealDB versions before 2.0.4 fail to properly enforce fie…7.1
- CVE-2024-58368SurrealDB versions before 1.1.0 fail to properly parse the I…8.7
Are you affected by CVE-2024-58362?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
