CVE-2018-12233
In the ea_get function in fs/jfs/xattr.c in the Linux kernel through 4.17.1, a memory corruption bug in JFS can be triggered by calling setxattr twice with two different extended attribute names on the same file.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.37%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
In the ea_get function in fs/jfs/xattr.c in the Linux kernel through 4.17.1, a memory corruption bug in JFS can be triggered by calling setxattr twice with two different extended attribute names on the same file. This vulnerability can be triggered by an unprivileged user with the ability to create files and execute programs. A kmalloc call is incorrect, leading to slab-out-of-bounds in jfs_xattr.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 2.37% probability · 83th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- linux/linux kernel · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- http://www.securityfocus.com/bid/104452Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00015.htmlThird Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00016.htmlThird Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00020.htmlThird Party Advisory, VDB Entry
- https://lkml.org/lkml/2018/6/2/2Third Party Advisory, VDB Entry
- https://marc.info/?l=linux-kernel&m=152814391530549&w=2Third Party Advisory
- https://usn.ubuntu.com/3752-1/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3752-2/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3752-3/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3753-1/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3753-2/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3754-1/Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/104452Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00015.htmlThird Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00016.htmlThird Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00020.htmlThird Party Advisory, VDB Entry
- https://lkml.org/lkml/2018/6/2/2Third Party Advisory, VDB Entry
- https://marc.info/?l=linux-kernel&m=152814391530549&w=2Third Party Advisory
- https://usn.ubuntu.com/3752-1/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3752-2/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3752-3/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3753-1/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3753-2/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3754-1/Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.