SurrealKVに範囲外読み取りの脆弱性、情報漏えいやクラッシュのおそれ
Summary
SurrealKVの1.1.0より前のバージョンには、不正または壊れたSSTableブロックなどから範囲外の領域を読み取られる脆弱性があります。ヒープ上の内容が漏えいするほか、プロセスが異常終了するおそれもあります。影響を受けるのは1.1.0より前の版で、修正版の1.1.0が公開されているため、速やかに1.1.0以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SurrealKVの1.1.0より前のバージョンには、不正または壊れたSSTableブロックなどから範囲外の領域を読み取られる脆弱性があります。ヒープ上の内容が漏えいするほか、プロセスが異常終了するおそれもあります。影響を受けるのは1.1.0より前の版で、修正版の1.1.0が公開されているため、速やかに1.1.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| surrealdbsurrealkv |
< 1.1.0→ 1.1.0 |
1.1.0 |
| crates.iosurrealkv |
≥ 0.0.0-0, < 1.2.0→ 1.2.0 |
1.2.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- advisory rustsec.org
- package crates.io
- patch github.com
- web github.com
- web github.com
- web github.com