SurrealDBにパス・トラバーサルの脆弱性、ホストのファイルを読み書きされるおそれ
Summary
SurrealDB 3.0.0から4.0.0未満に、ファイルシステムのバケット内にある既存のシンボリックリンクをたどってホスト上のファイルを読み書きされる脆弱性が見つかりました。CVSS v4.0は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未満に、ファイルシステムのバケット内にある既存のシンボリックリンクをたどってホスト上のファイルを読み書きされる脆弱性が見つかりました。CVSS v4.0は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 filesystem storage bucket that only canonicalizes the bucket root, not descendant symlinks. Attackers can reference paths through a pre-existing symlink inside the bucket that pass the lexical prefix check, reading and writing files across the host filesystem.
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