gix-sec の脆弱性 (CVE-2025-24890)
概要
gix-sec に 脆弱性 (CVE-2025-24890) が存在。機密情報が外部に流出する可能性があります。safe.directory 経由で攻撃可能。対策: 0.13.3 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
In a process run with full administrative rights on Windows, gix-sec wrongly treats all locations as trusted, leading to the execution of commands configured in repositories controlled by limited user accounts.
Details
In a similar way to Git, gitoxide tries to avoid operating in local repositories that it neither considers to be owned by the current user nor finds to match any value of safe.directory. This is because of the numerous commands that can be configured for a Git repository, to run as part of various actions, some of which even occur automatically due to the way custom shell prompts and text editors update their knowledge of repositories.
On Unix-like operating systems, every directory is considered to be owned by some user ID. On Windows, other identities can own a directory in the same sense that a user can, and directories created while operating with full administrative rights default to being owned by the Administrators group, not the specific user. Such administrators should be able to use what are, conceptually, their own repositories. So Git considers administrators (when operating this way) to own them.
Code in gix-sec intends to implement a similar check. But after finding that it is run with an administrative token, it needs to check if the directory is owned by the Administrators group, yet instead accidentally examines itself again, rather than the directory.
Specifically…
出典: NIST National Vulnerability Database NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
gix-sec という製品で、CVE-2025-24890 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに safe.directory のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 6.8/10 です。
対策: gix-sec を 0.13.3 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「gix-sec CVE-2025-24890」を検索してください。
CVE-2025-24890 (gix-sec) — CWE-283 / CVSS v3 6.8
攻撃ベクター: ローカル
脆弱箇所: safe.directory / Administrators / is_path_owned_by_current_user / folder_owner
修正バージョン: 0.13.3 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
gix-sec に 脆弱性 (CWE-283) があります。攻撃者は safe.directory を経由して脆弱な処理に到達できます。
gix-sec の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: safe.directory / Administrators / is_path_owned_by_current_user / folder_owner。
重要度: 中 (CVSS 6.8/10)。機密情報が外部に流出する可能性があります。
0.13.3 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'gix-sec' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
gix-secを grep し、稼働しているサービス・バージョンを把握する。 -
2パッチ適用 patch
Upgrade gix-sec to 0.13.3ステージング環境で 0.13.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。