Uncaught Exception Affecting surrealdb-core package, versions <2.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-SURREALDBCORE-8400847
  • published24 Nov 2024
  • disclosed22 Nov 2024
  • creditUnknown

Introduced: 22 Nov 2024

New CVE NOT AVAILABLE CWE-248  (opens in a new tab)

How to fix?

Upgrade surrealdb-core to version 2.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncaught Exception via the rand::time function. This is only exploitable by a client who is authorized to run queries in a SurrealDB server.

Workaround

Affected users who are unable to update to the fixed version are advised to limit the ability of untrusted clients to run the rand::time function in the affected versions of SurrealDB using security capabilities. Additionally, SurrealDB administrators are advised to ensure that the SurrealDB process is running so that it can be automatically re-started after a crash.

CVSS Scores

version 4.0
version 3.1