Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. surrealdb
  4. ›
  5. GHSA-jm4v-58r5-66hj

GHSA-jm4v-58r5-66hj: Uncaught Exception in surrealdb

January 18, 2024

Although custom parameters and functions are only supported at the database level, it was allowed to invoke those entities at the root or namespace level. This would cause a panic which would crash the SurrealDB server, leading to denial of service.

References

  • github.com/advisories/GHSA-jm4v-58r5-66hj
  • github.com/surrealdb/surrealdb
  • github.com/surrealdb/surrealdb/commit/618a4d1b422df0d12772532bb2c195f830b40399
  • github.com/surrealdb/surrealdb/security/advisories/GHSA-jm4v-58r5-66hj

Code Behaviors & Features

Detect and mitigate GHSA-jm4v-58r5-66hj 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.1.1

Fixed versions

  • 1.1.1

Solution

Upgrade to version 1.1.1 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-jm4v-58r5-66hj.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:05 +0000.