Uncaught Exception Affecting surrealdb package, versions <1.2.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUST-SURREALDB-6276555
  • published 25 Feb 2024
  • disclosed 21 Feb 2024
  • credit idofilus

Introduced: 21 Feb 2024

CVE NOT AVAILABLE CWE-248 Open this link in a new tab

How to fix?

Upgrade surrealdb to version 1.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncaught Exception in the query executor when executing a query containing a call to a nonexistent built-in function. This vulnerability can arise by mistake when the SurrealDB client version is newer than the SurrealDB server or when a pre-parsed query is provided to the server via a newer version of the SurrealDB SDK.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High