SurrealDBのWindows環境で、パス・トラバーサルの脆弱性が見つかる
Summary
SurrealDB 3.0.0から4.0.0未満のWindows版には、バケット内のファイルを別のバケットへたどって読み書きされるパス・トラバーサルの脆弱性があります。CVSSv3は7.5、CVSSv4は8.7です。影響を受ける版を利用している場合は、修正版の4.0.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.
SurrealDB 3.0.0から4.0.0未満のWindows版には、バケット内のファイルを別のバケットへたどって読み書きされるパス・トラバーサルの脆弱性があります。CVSSv3は7.5、CVSSv4は8.7です。影響を受ける版を利用している場合は、修正版の4.0.0への更新をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| surrealdbsurrealdb |
≥ 3.0.0, < 4.0.0→ 4.0.0 |
4.0.0 |
Original description The description as published by the source.
SurrealDB 3.0.0 before 4.0.0 contains a path traversal vulnerability in its bucket storage layer on Windows, where ObjectKey::check_no_traversal splits object keys only on forward slashes while FileStore::to_os_path treats backslashes as directory separators. Attackers can supply object keys such as /..\bucket2\secret to bypass the traversal check and read or modify files in other buckets.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com