Buffer overflow in Linux Kernel

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.

Vulnerability class: Buffer Overflow

EPSS: 0.023 (81.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, VDB Entry, Third Party Advisory)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, VDB Entry, Third Party Advisory)
  • cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, VDB Entry, Third Party Advisory)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, VDB Entry, Third Party Advisory)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, VDB Entry, Third Party Advisory)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, VDB Entry, Third Party Advisory)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, VDB Entry, Third Party Advisory)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (VDB Entry, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2018-12233?
CVE-2018-12233 is a high-severity vulnerability in Linux Kernel, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.8/10. Published 2018-06-12.
How severe is CVE-2018-12233?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2018-12233 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.