本文へ移動
English version →
高 7.1

Linux kernelのSquashfsで範囲外アクセスが起き、情報漏えいや不安定化のおそれがある脆弱性

CVE-2024-26982 SecPulse初出

概要

2024年5月に公表された、Linux kernelのSquashfsファイルシステムの脆弱性です。inode番号がゼロの不正な値を検査していないため、範囲外アクセスが起きるおそれがあります。修正版は5.4.291、5.10.235、5.15.179、6.1.130、6.6.30、6.8.8で、影響する版を使っている場合は修正版への更新を検討してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Linux kernel という製品で、CVE-2024-26982 という番号がついた弱点 (脆弱性) が見つかりました。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 7.1/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「Linux kernel CVE-2024-26982」を検索してください。

CVE-2024-26982 (Linux kernel) — CWE-125 / CVSS v3 7.1
攻撃ベクター: ローカル / 被害者操作不要
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

Linux kernel に 境界外読み取り (CWE-125) があります。

影響範囲

Linux kernel の影響バージョンはベンダーのアドバイザリで確認してください。

重要度

重要度: 重要 (CVSS 7.1/10)。機密情報が外部に流出する可能性があります。

修正方法

ベンダー公式アドバイザリの修正版に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで Linux kernel を使っているサービスとバージョンを洗い出す。

  2. 2
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

パッケージ影響を受ける版 → 修正版
LinuxKernel
2.6.29 以上 5.4.291 未満→ 5.4.291
5.5.0 以上 5.10.235 未満→ 5.10.235
5.11.0 以上 5.15.179 未満→ 5.15.179
5.16.0 以上 6.1.130 未満→ 6.1.130
6.2.0 以上 6.6.30 未満→ 6.6.30
6.7.0 以上 6.8.8 未満→ 6.8.8

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

In the Linux kernel, the following vulnerability has been resolved:

Squashfs: check the inode number is not the invalid value of zero

Syskiller has produced an out of bounds access in fill_meta_index().

That out of bounds access is ultimately caused because the inode
has an inode number with the invalid value of zero, which was not checked.

The reason this causes the out of bounds access is due to following
sequence of events:

  1. Fill_meta_index() is called to allocate (via empty_meta_index())
    and fill a metadata index. It however suffers a data read error
    and aborts, invalidating the newly returned empty metadata index.
    It does this by setting the inode number of the index to zero,
    which means unused (zero is not a valid inode number).

  2. When fill_meta_index() is subsequently called again on another
    read operation, locate_meta_index() returns the previous index
    because it matches the inode number of 0. Because this index
    has been returned it is expected to have been filled, and because
    it hasn't been, an out of bounds access is performed.

This patch adds a sanity check which checks that the inode number
is not zero when the inode is created and returns -EINVAL if it is.

[phillip@squashfs.org.uk: whitespace fix]

出典: GitHub Security Advisories (Global) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく