The xfrmreplayverifylen function in net/xfrm/xfrmuser.c in the Linux kernel through 4.10.6 does not validate certain size data after an XFRMMSGNEWAE update, which allows local users to obtain root privileges or cause a denial of service (heap-based out-of-bounds access) by leveraging the CAPNETADMIN capability, as demonstrated during a Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10 linux-image-* package 4.8.0.41.52.
[
{
"digest": {
"length": 357.0,
"function_hash": "256273699626377439846079901724504994824"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f843ee6dd019bcece3e74e76ad9df0155655d0df",
"deprecated": false,
"id": "CVE-2017-7184-0e90868c",
"signature_type": "Function",
"target": {
"function": "xfrm_replay_verify_len",
"file": "net/xfrm/xfrm_user.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"114437459083903668122994072967771662761",
"152341697834101270660272837570291897691",
"45225710994609264587246547429230263566",
"76622472150896996449965806259409731577"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f843ee6dd019bcece3e74e76ad9df0155655d0df",
"deprecated": false,
"id": "CVE-2017-7184-3998db60",
"signature_type": "Line",
"target": {
"file": "net/xfrm/xfrm_user.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7184.json"