CVE-2017-7184
kernel: Out-of-bounds heap access in xfrm
Overview
Description
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 16 fixes
Oracle Linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | dtrace-modules-3-8-13-118-18-2-el7uek | 0.4.5-3.el7 |
| 7 | dtrace-modules-4-1-12-61-1-34-el7uek | 0.5.3-2.el7 |
| 7 | kernel +11 | 3.10.0-693.5.2.0.1.el7 |
| 7 | kernel-uek +5 | 4.1.12-61.1.34.el7uek |
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| kernel-rt +9 | 1:3.10.0-693.5.2.rt56.592.el6rt | RHSA-2017:2918 | |
| 7 | kernel +12 | 0:3.10.0-514.71.1.el7 | RHSA-2019:4159 |
| 7 | kernel +14 | 0:3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| 7 | kernel-rt +9 | 0:3.10.0-693.5.2.rt56.626.el7 | RHSA-2017:2931 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 4.9.18-1 |
| 12 | linux | 4.9.18-1 |
| 13 | linux | 4.9.18-1 |
| 14 | linux | 4.9.18-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 4.9.18-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 4.9.18-1 |
| 12 | rootio-linux | 4.9.18-1 |
| 13 | rootio-linux | 4.9.18-1 |
References
- git.kernel.org http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=677e806da4d916052585301785d847c3b3e6186a
- git.kernel.org http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f843ee6dd019bcece3e74e76ad9df0155655d0df
- openwall.com http://openwall.com/lists/oss-security/2017/03/29/2
- www.eweek.com http://www.eweek.com/security/ubuntu-linux-falls-on-day-1-of-pwn2own-hacking-competition
- www.securityfocus.com http://www.securityfocus.com/bid/97018
- www.securitytracker.com http://www.securitytracker.com/id/1038166
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2918
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2930
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2931
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:4159
Show all 30 references
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-7184
- blog.trendmicro.com https://blog.trendmicro.com/results-pwn2own-2017-day-one/
- git.kernel.org https://git.kernel.org/linus/677e806da4d916052585301785d847c3b3e6186a
- git.kernel.org https://git.kernel.org/linus/f843ee6dd019bcece3e74e76ad9df0155655d0df
- git.kernel.org https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=52b9c816807abd46c285cd8ab183fe93194bfb3f
- github.com https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186a
- github.com https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0df
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-7184.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2017-3567.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-7184
- source.android.com https://source.android.com/security/bulletin/2017-05-01
- twitter.com https://twitter.com/thezdi/status/842126074435665920
- ubuntu.com https://ubuntu.com/security/notices/USN-3248-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3249-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3249-2
- ubuntu.com https://ubuntu.com/security/notices/USN-3250-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3250-2
- ubuntu.com https://ubuntu.com/security/notices/USN-3251-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3251-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-7184
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.