CVE-2018-10840
MEDIUMCVSS 6.6/10EPSS 0.66%
Last modified
CVE-2018-10840 is a medium-severity vulnerability rated 6.6/10 on the CVSS scale. Linux kernel is vulnerable to a heap-based buffer overflow in the fs/ext4/xattr.c:ext4_xattr_set_entry() function. An attacker could exploit this by operating on a mounted crafted ext4 image.. EPSS estimates a 0.66% chance of exploitation in the next 30 days.
Description
Linux kernel is vulnerable to a heap-based buffer overflow in the fs/ext4/xattr.c:ext4_xattr_set_entry() function. An attacker could exploit this by operating on a mounted crafted ext4 image.
Metrics
CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | All versions |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Redhat | Enterprise Linux | 7.0 |
References
- http://www.securityfocus.com/bid/104858Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:0162Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10840Exploit, Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3752-1/Third Party Advisory
- https://usn.ubuntu.com/3752-2/Third Party Advisory
- https://usn.ubuntu.com/3752-3/Third Party Advisory
- http://www.securityfocus.com/bid/104858Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:0162Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10840Exploit, Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3752-1/Third Party Advisory
- https://usn.ubuntu.com/3752-2/Third Party Advisory
- https://usn.ubuntu.com/3752-3/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-10840?
Linux kernel is vulnerable to a heap-based buffer overflow in the fs/ext4/xattr.c:ext4_xattr_set_entry() function. An attacker could exploit this by operating on a mounted crafted ext4 image.
How severe is CVE-2018-10840?
CVE-2018-10840 has a CVSS score of 6.6/10 (MEDIUM severity). The EPSS model estimates a 0.66% probability of exploitation in the next 30 days.
How do I fix CVE-2018-10840?
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.
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-1083Zsh before version 5.4.2-test-1 is vulnerable to a buffer ov…
- CVE-2018-10830In 2345 Security Guard 3.7, the driver file (2345BdPcSafe.sy…
- CVE-2018-10831Z-NOMP before 2018-04-05 has an incorrect Equihash solution …
- CVE-2018-10832ModbusPal 1.6b is vulnerable to an XML External Entity (XXE)…
- CVE-2018-10839Qemu emulator <= 3.0.0 built with the NE2000 NIC emulation s…6.5
- CVE-2018-1084corosync before version 2.4.4 is vulnerable to an integer ov…7.5
- CVE-2018-10841glusterfs is vulnerable to privilege escalation on gluster s…8.8
- CVE-2018-10842Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2018-10843source-to-image component of Openshift Container Platform be…8.5
- CVE-2018-10844It was found that the GnuTLS implementation of HMAC-SHA-256 …5.9
- CVE-2018-10845It was found that the GnuTLS implementation of HMAC-SHA-384 …5.9
- CVE-2018-10846A cache-based side channel in GnuTLS implementation that lea…5.6
Are you affected by CVE-2018-10840?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
