NVD Vulnerability Detail
Search Exploit, PoC
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.
CVSS3.1 : HIGH
スコア 7.8
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : HIGH
Score 7.2
Vector AV:L/AC:L/Au:N/C:C/I:C/A:C
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
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

JVN Vulnerability Information
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.
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.