SurrealKV before 1.1.0 contains an out-of-bounds read vulnerability in the safe InternalKeyRef::from_encoded constructor, which only checks key…
SurrealKV before 1.1.0 contains an out-of-bounds read vulnerability in the safe InternalKeyRef::from_encoded constructor, which only checks key length with a debug-only assertion. Callers passing keys shorter than 16 bytes, or crafted or corrupted SSTable blocks, trigger unchecked length underflow in timestamp(), seq_num() and trailer(), reading heap bytes before the allocation or panicking.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Surrealdb
- Product
- surrealkv
- CVSS v3.1
- 7.9 AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
- Weakness
- CWE-125
- NVD status
- Received
Why it ranks 25 (Notable)
- CVSS v3.1 7.9 high
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.