CVE-2018-12233

HIGHCVSS 7.8/10EPSS 2.34%

Last modified

CVE-2018-12233 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 2.34% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.8/10

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

EPSS Probability
2.34%

81.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
LinuxLinux Kernel>= 2.6.12, < 3.16.58
LinuxLinux Kernel>= 3.17, < 3.18.118
LinuxLinux Kernel>= 3.19, < 4.4.147
LinuxLinux Kernel>= 4.5, < 4.9.119
LinuxLinux Kernel>= 4.10, < 4.14.62
LinuxLinux Kernel>= 4.15, < 4.17.14
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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. 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.
How severe is CVE-2018-12233?
CVE-2018-12233 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 2.34% probability of exploitation in the next 30 days.
How do I fix CVE-2018-12233?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-12233?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST