CVE-2018-12233
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/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 2.6.12, < 3.16.58 |
| Linux | Linux Kernel | >= 3.17, < 3.18.118 |
| Linux | Linux Kernel | >= 3.19, < 4.4.147 |
| Linux | Linux Kernel | >= 4.5, < 4.9.119 |
| Linux | Linux Kernel | >= 4.10, < 4.14.62 |
| Linux | Linux Kernel | >= 4.15, < 4.17.14 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
References
- http://www.securityfocus.com/bid/104452Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00015.htmlThird Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00016.htmlThird Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00020.htmlThird Party Advisory, VDB Entry
- https://lkml.org/lkml/2018/6/2/2Third Party Advisory, VDB Entry
- https://marc.info/?l=linux-kernel&m=152814391530549&w=2Third Party Advisory
- https://usn.ubuntu.com/3752-1/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3752-2/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3752-3/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3753-1/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3753-2/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3754-1/Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/104452Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00015.htmlThird Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00016.htmlThird Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00020.htmlThird Party Advisory, VDB Entry
- https://lkml.org/lkml/2018/6/2/2Third Party Advisory, VDB Entry
- https://marc.info/?l=linux-kernel&m=152814391530549&w=2Third Party Advisory
- https://usn.ubuntu.com/3752-1/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3752-2/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3752-3/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3753-1/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3753-2/Third Party Advisory, VDB Entry
- https://usn.ubuntu.com/3754-1/Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-12233?
How severe is CVE-2018-12233?
How do I fix CVE-2018-12233?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-12227An issue was discovered in Asterisk Open Source 13.x before …
- CVE-2018-12228An issue was discovered in Asterisk Open Source 15.x before …
- CVE-2018-12229Cross-site scripting (XSS) vulnerability in Public Knowledge…
- CVE-2018-1223Cloud Foundry Container Runtime (kubo-release), versions pri…8.8
- CVE-2018-12230An wrong logical check identified in the transferFrom functi…
- CVE-2018-12232In net/socket.c in the Linux kernel through 4.17.1, there is…
- CVE-2018-12234A Reflected Cross Site Scripting (XSS) Vulnerability was dis…
- CVE-2018-12237The Symantec Reporter CLI 10.1 prior to 10.1.5.6 and 10.2 pr…
- CVE-2018-12238Norton prior to 22.15; Symantec Endpoint Protection (SEP) pr…
- CVE-2018-12239Norton prior to 22.15; Symantec Endpoint Protection (SEP) pr…
- CVE-2018-1224Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2018-12240The Norton Identity Safe product prior to 5.3.0.976 may be s…5.9
Are you affected by CVE-2018-12233?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
