製品・ソフトウェアに関する情報
Linux Kernel の drivers/scsi/sg.c の sg_ioctl 関数におけるサービス運用妨害 (DoS) の脆弱性
Title Linux Kernel の drivers/scsi/sg.c の sg_ioctl 関数におけるサービス運用妨害 (DoS) の脆弱性
Summary

Linux Kernel の drivers/scsi/sg.c の sg_ioct 関数には、サービス運用妨害 (スタックベースのバッファオーバーフロー) 状態にされる、または不特定の影響を受ける脆弱性が存在します。

Possible impacts ローカルユーザにより、SG_NEXT_CMD_LEN ioctl call の過度に大きなコマンドサイズを介して、 sg_write 関数での境界外書き込みアクセスを引き起こされることで、サービス運用妨害 (スタックベースのバッファオーバーフロー) 状態にされる、または不特定の影響を受ける可能性があります。
Solution

ベンダ情報および参考情報を参照して適切な対策を実施してください。

Publication Date March 16, 2017, midnight
Registration Date April 19, 2017, 2:09 p.m.
Last Update April 19, 2017, 2:09 p.m.
CVSS3.0 : 重要
Score 7.8
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
Score 7.2
Vector AV:L/AC:L/Au:N/C:C/I:C/A:C
Affected System
Linux
Linux Kernel 4.10.4 まで
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2017年04月19日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2017-7187
Summary

The sg_ioctl function in drivers/scsi/sg.c in the Linux kernel through 4.10.4 allows local users to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a large command size in an SG_NEXT_CMD_LEN ioctl call, leading to out-of-bounds write access in the sg_write function.

Publication Date March 20, 2017, 11:59 p.m.
Registration Date Jan. 26, 2021, 1:28 p.m.
Last Update Nov. 21, 2024, 12:31 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.19 4.1.40
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.18.50
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.2 4.4.60
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.5 4.9.21
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.10 4.10.9
Related information, measures and tools
Common Vulnerabilities List