製品・ソフトウェアに関する情報
Linux Kernel の block/genhd.c におけるフォーマットストリングの脆弱性
Title Linux Kernel の block/genhd.c におけるフォーマットストリングの脆弱性
Summary

Linux Kernel の block/genhd.c の register_disk 関数には、フォーマットストリングの脆弱性が存在します。

Possible impacts ローカルユーザにより、ルートアクセスを利用され、巧妙に細工された /dev/md デバイス名を作成するために /sys/module/md_mod/parameters/new_array へフォーマットストリング指定子を書き込まれることで、権限を取得される可能性があります。
Solution

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

Publication Date May 31, 2013, midnight
Registration Date June 10, 2013, 4:03 p.m.
Last Update Aug. 6, 2015, 5:10 p.m.
CVSS2.0 : 警告
Score 6
Vector AV:L/AC:H/Au:S/C:C/I:C/A:C
Affected System
Linux
Linux Kernel 3.9.4 まで
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2013年06月10日]
  掲載
[2013年10月31日]
  ベンダ情報:Novell (SUSE-SU-2013:1473) を追加
  ベンダ情報:Novell (SUSE-SU-2013:1474) を追加
  ベンダ情報:Ubuntu (USN-1912-1) を追加
  ベンダ情報:Ubuntu (USN-1913-1) を追加
  ベンダ情報:Ubuntu (USN-1941-1) を追加
  ベンダ情報:Ubuntu (USN-1942-1) を追加
[2013年11月21日]
  ベンダ情報:Debian (DSA-2766) を追加
[2014年02月18日]
  対策:内容を更新
  ベンダ情報:レッドハット (RHSA-2013:1645) を追加
  ベンダ情報:レッドハット (RHSA-2013:1783) を追加
[2015年08月06日]
  ベンダ情報:レッドハット (RHSA-2014:0284) を追加
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2013-2851
Summary

Format string vulnerability in the register_disk function in block/genhd.c in the Linux kernel through 3.9.4 allows local users to gain privileges by leveraging root access and writing format string specifiers to /sys/module/md_mod/parameters/new_array in order to create a crafted /dev/md device name.

Publication Date June 7, 2013, 11:03 p.m.
Registration Date Jan. 26, 2021, 3:39 p.m.
Last Update Nov. 21, 2024, 10:52 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:linux:linux_kernel:3.9.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.9.2:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.9:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.9:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.9.3:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.9.4
cpe:2.3:o:linux:linux_kernel:3.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.9:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:3.9.1:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List