【活用ガイド】

JVNDB-2024-030003

Debian等の複数ベンダの製品における境界外書き込みに関する脆弱性

概要

Linuxカーネルにおいて、以下の脆弱性が修正されました:bnaにおいて、コピーされたバッファがNUL終端されていることが保証されています。現在、nbytesサイズのカーネルバッファを割り当て、ユーザースペースからそのバッファにnbytesをコピーしています。その後、このバッファに対してsscanfを使用していますが、文字列がバッファ内で終端されていることが保証されていないため、sscanf使用時にバッファ越え読み取り(OOB)が発生する可能性があります。この問題はmemdup_userの代わりにmemdup_user_nulを使用することで修正されました。
CVSS による深刻度 (CVSS とは?)

CVSS v3 による深刻度
基本値: 7.8 (重要) [NVD値]
  • 攻撃元区分: ローカル
  • 攻撃条件の複雑さ: 低
  • 攻撃に必要な特権レベル: 低
  • 利用者の関与: 不要
  • 影響の想定範囲: 変更なし
  • 機密性への影響(C): 高
  • 完全性への影響(I): 高
  • 可用性への影響(A): 高
影響を受けるシステム


Debian
  • Debian GNU/Linux 10.0
Linux
  • Linux Kernel 3.3 以上 4.19.314 未満
  • Linux Kernel 4.20 以上 5.4.276 未満
  • Linux Kernel 5.11 以上 5.15.159 未満
  • Linux Kernel 5.16 以上 6.1.91 未満
  • Linux Kernel 5.5 以上 5.10.217 未満
  • Linux Kernel 6.2 以上 6.6.31 未満
  • Linux Kernel 6.7 以上 6.8.10 未満
  • Linux Kernel 6.9

本脆弱性の影響を受ける製品の詳細については、ベンダ情報および参考情報をご確認ください。
想定される影響

当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。
また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。
さらに、当該ソフトウェアが完全に停止する可能性があります。
そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
対策

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。
ベンダ情報

Debian NetApp
CWEによる脆弱性タイプ一覧  CWEとは?

  1. 境界外書き込み(CWE-787) [NVD評価]
共通脆弱性識別子(CVE)  CVEとは?

  1. CVE-2024-36934
参考情報

  1. National Vulnerability Database (NVD) : CVE-2024-36934
  2. 関連文書 : bna: ensure the copied buf is NUL terminated - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/e19478763154674c084defc62ae0d64d79657f91)
  3. 関連文書 : bna: ensure the copied buf is NUL terminated - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/0f560240b4cc25d3de527deb257cdf072c0102a9)
  4. 関連文書 : bna: ensure the copied buf is NUL terminated - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/80578ec10335bc15ac35fd1703c22aab34e39fdd)
  5. 関連文書 : bna: ensure the copied buf is NUL terminated - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/1518b2b498a0109eb6b15755169d3b6607356b35)
  6. 関連文書 : bna: ensure the copied buf is NUL terminated - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/6f0f19b79c085cc891c418b768f26f7004bd51a4)
  7. 関連文書 : bna: ensure the copied buf is NUL terminated - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/06cb37e2ba6441888f24566a997481d4197b4e32)
  8. 関連文書 : bna: ensure the copied buf is NUL terminated - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f)
  9. 関連文書 : bna: ensure the copied buf is NUL terminated - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/bd502ba81cd1d515deddad7dbc6b812b14b97147)
更新履歴

  • [2026年01月27日]
      掲載