Moritz Andre Myrseth (moritzmyrz)のcoursevault-previewにおけるパストラバーサルの脆弱性
| Title |
Moritz Andre Myrseth (moritzmyrz)のcoursevault-previewにおけるパストラバーサルの脆弱性
|
| Summary |
coursevault-preview は、設定されたディレクトリからコース教材ファイルをプレビューするためのユーティリティです。0.1.1より前のバージョンの coursevault-preview には、resolveSafe ユーティリティにパストラバーサルの脆弱性が含まれていました。境界チェックは正規化されたパスに対して String.prototype.startsWith(baseDir) を使用しており、ディレクトリ境界を適切に強制していません。影響を受ける CoursevaultPreview メソッドの relativePath 引数を制御できる攻撃者は、同じ文字列接頭辞を共有する兄弟ディレクトリが存在する場合に、構成された baseDir の外部のファイルを読み取ることが可能でした。この脆弱性はバージョン0.1.1で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 7, 2026, midnight |
| Registration Date |
May 7, 2026, 12:01 p.m. |
| Last Update |
May 7, 2026, 12:01 p.m. |
|
CVSS3.0 : 警告
|
| Score |
4.7
|
| Vector |
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected System
| Moritz Andre Myrseth (moritzmyrz) |
|
coursevault-preview 0.1.1 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月07日] 掲載 |
May 7, 2026, 12:01 p.m. |
NVD Vulnerability Information
CVE-2026-35613
| Summary |
coursevault-preview is a utility for previewing course material files from a configured directory. coursevault-preview versions prior to 0.1.1 contain a path traversal vulnerability in the resolveSafe utility. The boundary check used String.prototype.startsWith(baseDir) on a normalized path, which does not enforce a directory boundary. An attacker who controls the relativePath argument to affected CoursevaultPreview methods may be able to read files outside the configured baseDir when a sibling directory exists whose name shares the same string prefix. This vulnerability is fixed in 0.1.1.
|
| Publication Date |
April 8, 2026, 2:16 a.m. |
| Registration Date |
April 15, 2026, 11:29 a.m. |
| Last Update |
April 9, 2026, 6:27 a.m. |
Related information, measures and tools
Common Vulnerabilities List