CVE-2018-12233
Reported by mitre · Published June 12, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-oem | Ubuntu:18.04:LTS | 4.15.0-1017.20 |
| linux | Ubuntu:14.04:LTS | 3.13.0-157.207 |
| linux-snapdragon | Ubuntu:16.04:LTS | 4.4.0-1099.104 |
| linux-aws | Ubuntu:16.04:LTS | 4.4.0-1066.76 |
| linux | Ubuntu:18.04:LTS | 4.15.0-33.36 |
| linux-lts-xenial | Ubuntu:14.04:LTS | 4.4.0-134.160~14.04.1 |
| linux-kvm | Ubuntu:18.04:LTS | 4.15.0-1020.20 |
| linux-azure | Ubuntu:16.04:LTS | 4.15.0-1022.22~16.04.1 |
| linux_kernel | linux | 4.17.14, 4.14.62, 4.9.119, 4.4.147, 3.18.118, 3.16.58 |
| linux-aws | Ubuntu:14.04:LTS | 4.4.0-1028.31 |
| linux-gcp | Ubuntu:18.04:LTS | 4.15.0-1018.19 |
| linux-hwe | Ubuntu:16.04:LTS | 4.15.0-33.36~16.04.1 |
1 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Jun 12, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Feb 17, 2026 CVE Updated
- Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 6, 2026 Security Advisory (7 in total, the first dated here)
- Sep 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-12233
vulnetix vdb fixes CVE-2018-12233
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-12233/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3752-2 vendor-advisoryx_refsource_UBUNTU
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1422-1] linux security update mailing-listx_refsource_MLIST
- 104452 vdb-entryx_refsource_BID
- USN-3752-3 vendor-advisoryx_refsource_UBUNTU
- [debian-lts-announce] 20180715 [SECURITY] [DLA 1422-2] linux security update mailing-listx_refsource_MLIST
- USN-3753-2 vendor-advisoryx_refsource_UBUNTU
- USN-3754-1 vendor-advisoryx_refsource_UBUNTU
- [debian-lts-announce] 20180718 [SECURITY] [DLA 1423-1] linux-4.9 new package mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC
- USN-3752-1 vendor-advisoryx_refsource_UBUNTU
- USN-3753-1 vendor-advisoryx_refsource_UBUNTU