Back to CVE catalog

AI summary

SurrealDB before 1.1.1 has a format string flaw in the rquickjs Exception::throw_type function when scripting is enabled. Attackers with scripting privileges can supply format string sequences in error inputs to read arbitrary memory or execute code with the privileges of the SurrealDB process.

Generated automatically from the source description. Check the sources below before acting.

CVE-2024-58366

Format string vulnerability in rquickjs in SurrealDB

surrealdb surrealdb

At a glance

SurrealDB before 1.1.1 contains a format string vulnerability in the rquickjs Exception::throw_type function when scripting is enabled. Attackers with scripting privileges can supply format string sequences in error inputs to read arbitrary memory or execute code with SurrealDB process privileges.

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v4.0

9.0Critical
Published:
Updated:
EPSS:
0.575%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:surrealdbsurrealdbAffected versions:
< 1.1.1Show full version range for surrealdb
  • Other source statuses: unaffected: 1.1.1
Vendor:DelSkaynrquickjsAffected versions:
< 0.4.2Show full version range for rquickjs
  • Other source statuses: unaffected: 0.4.2

1–2 of 2 · Page 1 of 1

CVSS scores and metrics6
VulnCheck · CVE List / CNA (cna)Primary9.0 / 10CriticalCVSS 4.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
High
Subsequent integrity
High
Subsequent availability
High

Source vector

CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
[email protected] · NVD (Secondary)9.0 / 10CriticalCVSS 4.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
High
Subsequent integrity
High
Subsequent availability
High

Source vector

CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
CVE-2024-58366 · OSV (source-vector)9.0 / 10CriticalCVSS 4.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
High
Subsequent integrity
High
Subsequent availability
High

Source vector

CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
VulnCheck · CVE List / CNA (cna)8.5 / 10HighCVSS 3.1Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Scope
Changed

Source vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
[email protected] · NVD (Secondary)8.5 / 10HighCVSS 3.1Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Scope
Changed

Source vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
[email protected] · NVD (Primary)8.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories7

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences