{"id":"CVE-2024-58358","state":"PUBLISHED","title":"SurrealDB before 2.1.0 Denial of Service via Nonexistent Role","description":"SurrealDB versions before 2.1.0 contain a denial of service vulnerability in role conversion that allows privileged owner users to define users with nonexistent roles. Attackers can trigger an uncaught panic by signing in with a user assigned an invalid role, crashing the server.","publishedAt":"2026-07-18T13:10:02.254Z","updatedAt":"2026-07-28T01:47:47.875Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["surrealdb surrealdb"],"affected":[{"vendor":"surrealdb","product":"surrealdb","packageURL":"pkg:cargo/surrealdb","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.1.0","versionType":"semver"},{"version":"2.1.0","status":"unaffected","versionType":"semver"}]},{"vendor":"surrealdb","product":"surrealdb","packageURL":"pkg:cargo/surrealdb-core","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.1.0","versionType":"semver"},{"version":"2.1.0","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jc55-246c-r88f","https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-nonexistent-role"],"weaknesses":["CWE-248"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/58xxx/CVE-2024-58358.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-58358","state":"PUBLISHED","datePublished":"2026-07-18T13:10:02.254Z","dateUpdated":"2026-07-28T01:47:47.875Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-08T15:20:35.497Z"},"containers":{"cna":{"title":"SurrealDB before 2.1.0 Denial of Service via Nonexistent Role","descriptions":[{"lang":"en","value":"SurrealDB versions before 2.1.0 contain a denial of service vulnerability in role conversion that allows privileged owner users to define users with nonexistent roles. Attackers can trigger an uncaught panic by signing in with a user assigned an invalid role, crashing the server."}],"affected":[{"vendor":"surrealdb","product":"surrealdb","packageURL":"pkg:cargo/surrealdb","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.1.0","versionType":"semver"},{"version":"2.1.0","status":"unaffected","versionType":"semver"}]},{"vendor":"surrealdb","product":"surrealdb","packageURL":"pkg:cargo/surrealdb-core","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.1.0","versionType":"semver"},{"version":"2.1.0","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jc55-246c-r88f","name":"GitHub Security Advisory (GHSA-jc55-246c-r88f)","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-nonexistent-role","name":"VulnCheck Advisory: SurrealDB before 2.1.0 Denial of Service via Nonexistent Role","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":4.9,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"Uncaught Exception","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-28T01:47:47.875Z"},"datePublic":"2024-11-22T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","versionEndExcluding":"2.1.0"}]}]}],"credits":[{"lang":"en","value":"garyhai","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-20T13:40:16.867765Z","id":"CVE-2024-58358","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-20T13:40:23.989Z"}}]}}}