GHSA-8xff-473h-f863: Uncaught Exception Handling Parsing Errors on Line Terminators
6.5
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
2/21/2024
Updated
2/21/2024
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
surrealdb | rust | <= 1.2.0 | 1.2.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from panics during error span rendering when parsing fails on line terminators. In Rust, such panics typically occur from unwrapped Result
/Option
or invalid string slicing. The error span rendering function
would be responsible for generating diagnostic messages with source code locations, making it susceptible to out-of-bounds access when the error position coincides with a line terminator. The function
name and location are inferred from standard Rust crate structure and the nature of the vulnerability, though exact code confirmation is unavailable.