| タイトル | KovidgoyalのKittyにおける複数の脆弱性 |
|---|---|
| 概要 | Kittyはクロスプラットフォーム対応のGPUベース端末です。バージョン0.47.2以前のkittyには、ローカル権限昇格の脆弱性が存在します。この脆弱性はkittyのファイル転送プロトコルにあり、端末内で動作する子プロセスがTOCTOU(チェック時と使用時の時間差)競合状態を悪用して、任意のファイルに書き込みを行うことが可能です。具体的には、シンボリックリンクの検証とファイル作成の間に競合が発生します。ファイル作成に使用される`os.open()`呼び出しが`O_NOFOLLOW`を使用していないため、攻撃者は最初のstatチェックと実際のファイルオープンの間にシンボリックリンクを作成でき、書き込みがシンボリックリンクをたどって任意の場所へ及ぶようになります。バージョン0.47.2でこの問題は修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアの一部が停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月12日0:00 |
| 登録日 | 2026年6月17日15:38 |
| 最終更新日 | 2026年6月17日15:38 |
| CVSS3.0 : 警告 | |
| スコア | 5 |
|---|---|
| ベクター | CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L |
| Kovidgoyal |
| Kitty 0.47.2 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月17日] 掲載 |
2026年6月17日15:38 |
| 概要 | Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.2, a local privilege escalation vulnerability exists in kitty's file transmission protocol where a child process running in the terminal can write to arbitrary files on the filesystem by exploiting a TOCTOU (Time-of-Check-Time-of-Use) race condition between symlink validation and file creation. The `os.open()` call used to create files does not use `O_NOFOLLOW`, allowing an attacker to create a symlink between the initial stat check and the actual file open, causing the write to follow the symlink to an arbitrary destination. Version 0.47.2 fixes the issue. |
|---|---|
| 公表日 | 2026年6月13日5:16 |
| 登録日 | 2026年6月14日4:11 |
| 最終更新日 | 2026年6月17日1:02 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:kovidgoyal:kitty:*:*:*:*:*:*:*:* | 0.47.2 | ||||