Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. surrealdb
  4. ›
  5. GHSA-6wr5-jmpr-mjcx

GHSA-6wr5-jmpr-mjcx: Uncaught Exception in Macro Expecting Native Function to Exist

February 21, 2024

The query executor would panic when executing a query containing a call to a built-in SurrealDB function that did not exist. This could occur accidentally in situations where the version of the SurrealDB client was newer than the SurrealDB server or when a pre-parsed query was provided to the server via a newer version of the SurrealDB SDK.

References

  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=65755
  • github.com/advisories/GHSA-6wr5-jmpr-mjcx
  • github.com/surrealdb/surrealdb
  • github.com/surrealdb/surrealdb/pull/3454
  • github.com/surrealdb/surrealdb/security/advisories/GHSA-6wr5-jmpr-mjcx

Code Behaviors & Features

Detect and mitigate GHSA-6wr5-jmpr-mjcx with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.0

Fixed versions

  • 1.2.0

Solution

Upgrade to version 1.2.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-248: Uncaught Exception

Source file

cargo/surrealdb/GHSA-6wr5-jmpr-mjcx.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.