CVE-2018-12233

high

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.

References

https://usn.ubuntu.com/3754-1/

https://usn.ubuntu.com/3753-2/

https://usn.ubuntu.com/3753-1/

https://usn.ubuntu.com/3752-3/

https://usn.ubuntu.com/3752-2/

https://usn.ubuntu.com/3752-1/

https://marc.info/?l=linux-kernel&m=152814391530549&w=2

https://lkml.org/lkml/2018/6/2/2

https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html

https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html

https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html

http://www.securityfocus.com/bid/104452

Details

Source: Mitre, NVD

Published: 2018-06-12

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High