CVE-2018-1120
Vulnerability Summary
Timeline
Description
A flaw was found affecting the Linux kernel before version 4.17. By mmap()ing a FUSE-backed file onto a process's memory containing command line arguments (or environment strings), an attacker can cause utilities from psutils or procps (such as ps, w) or any other program which makes a read() call to the /proc/<pid>/cmdline (or /proc/<pid>/environ) files to block indefinitely (denial of service) or for some controlled time (as a synchronization primitive for other attacks).
CVSS Metrics
- v3.0•LOW•Score: 2.8CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
- v3.0•MEDIUM•Score: 5.3CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- v2.0•LOW•Score: 3.5AV:N/AC:M/Au:S/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 1.44%• Percentile: 81%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
- CWE-122•Heap-based Buffer Overflow
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Affected Systems
- canonical•ubuntu_linux
16.04 | 18.04
- debian•debian_linux
8.0
- linux•linux_kernel
< 4.17
- redhat•enterprise_linux_desktop
7.0
- redhat•enterprise_linux_server
7.0
- redhat•enterprise_linux_workstation
7.0
- redhat•virtualization_host
4.0
- [unknown]•kernel
kernel 4.17
References (15)
- https://usn.ubuntu.com/3752-2/
- https://access.redhat.com/errata/RHSA-2018:3083
- http://www.securityfocus.com/bid/104229
- https://usn.ubuntu.com/3752-3/
- https://security.gentoo.org/glsa/201805-14
- https://www.exploit-db.com/exploits/44806/
- https://usn.ubuntu.com/3910-1/
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7f7ccc2ccc2e70c6054685f5e3522efa81556830
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1120
- https://usn.ubuntu.com/3910-2/
- https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html
- https://access.redhat.com/errata/RHSA-2018:2948
- http://seclists.org/oss-sec/2018/q2/122
- https://usn.ubuntu.com/3752-1/
- https://access.redhat.com/errata/RHSA-2018:3096