CVE-2018-12233

Advisory lineage Upstream: 0 Downstream: 16
Modified
Published: 12 Jun 2018, 12:00
Last modified:05 Aug 2024, 08:30

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
v3.1 (nvd)
EPSS Score
0.1% LOW
0% probability +0.01%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

12 Jun 2018, 12:00
Published
Vulnerability first disclosed
05 Aug 2024, 08:30
Last Modified
Vulnerability information updated

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 Metrics

  • v3.1HIGHScore: 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • v2.0MEDIUMScore: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 0.10% Percentile: 26%

Techniques & Countermeasures

  • CWE-119Improper 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.

Affected Systems

  • canonicalubuntu_linux

    14.04 | 16.04 | 18.04

  • linuxlinux_kernel

    ≥ 2.6.12, < 3.16.58 | ≥ 3.17, < 3.18.118 | ≥ 3.19, < 4.4.147 | ≥ 4.5, < 4.9.119 | ≥ 4.10, < 4.14.62 | ≥ 4.15, < 4.17.14

References (12)