| タイトル | Project JupyterのJupyter Serverにおける相対パストラバーサルの脆弱性 |
|---|---|
| 概要 | jupyter-server バージョン 2.17.0 には、jupyter_server/services/contents/fileio.py の _get_os_path() 関数内で不適切なルートディレクトリ境界チェックが行われているため、パストラバーサルの脆弱性が存在します。このチェックは startswith(root) を使用していますが、区切り文字を末尾に付加していないため、root_dir と同じ接頭辞で始まる兄弟ディレクトリがチェックを回避できます。さらに、utils.py の to_os_path() 関数はパスの部分から ".." を除去しないため、トラバーサルシーケンスによって脆弱なチェックを回避可能です。この脆弱性によって、兄弟ディレクトリ内のファイルに対して不正な読み書きアクセスが発生し、共有ホスティング環境において機密データが露出する可能性があります。 |
| 想定される影響 | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月2日0:00 |
| 登録日 | 2026年6月5日10:45 |
| 最終更新日 | 2026年6月5日10:45 |
| CVSS3.0 : 重要 | |
| スコア | 8.1 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Project Jupyter |
| Jupyter Server 2.17.0 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月05日] 掲載 |
2026年6月5日10:45 |
| 概要 | A path traversal vulnerability exists in jupyter-server version 2.17.0 due to an incorrect root directory boundary check in the _get_os_path() function within jupyter_server/services/contents/fileio.py. The check uses startswith(root) without appending a trailing path separator, allowing sibling directories with names starting with the same prefix as root_dir to bypass the check. Additionally, the to_os_path() function in utils.py does not strip ".." from path parts, enabling traversal sequences to bypass the vulnerable check. This vulnerability can lead to unauthorized read/write access to files in sibling directories, potentially exposing sensitive data in shared hosting environments. |
|---|---|
| 公表日 | 2026年6月2日19:16 |
| 登録日 | 2026年6月3日4:17 |
| 最終更新日 | 2026年6月4日2:09 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:jupyter:jupyter_server:2.17.0:*:*:*:*:*:*:* | |||||