NVD Vulnerability Detail
Search Exploit, PoC
CVE-2017-7184
Summary

The xfrm_replay_verify_len function in net/xfrm/xfrm_user.c in the Linux kernel through 4.10.6 does not validate certain size data after an XFRM_MSG_NEWAE update, which allows local users to obtain root privileges or cause a denial of service (heap-based out-of-bounds access) by leveraging the CAP_NET_ADMIN capability, as demonstrated during a Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10 linux-image-* package 4.8.0.41.52.

Publication Date March 20, 2017, 3:59 a.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:4.8:*:*:*:*:*:*:*
execution environment
1 cpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.2.89
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.17 3.18.49
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.13 3.16.44
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.3 3.10.106
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.19 4.1.49
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.11 3.12.73
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.2 4.4.59
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.5 4.9.20
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.10 4.10.8
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Linux Kernel の net/xfrm/xfrm_user.c の xfrm_replay_verify_len 関数における root 権限を取得される脆弱性
Title Linux Kernel の net/xfrm/xfrm_user.c の xfrm_replay_verify_len 関数における root 権限を取得される脆弱性
Summary

Linux Kernel の net/xfrm/xfrm_user.c の xfrm_replay_verify_len 関数は、XFRM_MSG_NEWAE アップデート後に特定のサイズのデータを検証しないため、root 権限を取得される、またはサービス運用妨害 (ヒープベースの境界外アクセス) 状態にされる脆弱性が存在します。

Possible impacts ローカルユーザにより、CAP_NET_ADMIN ケーパビリティを利用されることで、root 権限を取得される、またはサービス運用妨害 (ヒープベースの境界外アクセス) 状態にされるされる可能性があります。
Solution

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

Publication Date March 29, 2017, midnight
Registration Date April 26, 2017, 10:45 a.m.
Last Update Oct. 15, 2021, 4:14 p.m.
Affected System
Linux
Linux Kernel 4.10.6 まで
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2017年04月26日]
  掲載
Feb. 17, 2018, 10:37 a.m.
1 [2021年10月15日]
  参考情報:JVN (JVNVU#93417317) を追加
  参考情報:ICS-CERT ADVISORY (ICSA-21-280-02) を追加
Oct. 15, 2021, 2:24 p.m.