6.6
MEDIUM
CVE-2018-10840
Linux Kernel ext4 Heap Buffer Overflow
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.

INFO

Published Date :

July 16, 2018, 8:29 p.m.

Last Modified :

Nov. 21, 2024, 3:42 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

0.7
Affected Products

The following products are affected by CVE-2018-10840 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Canonical ubuntu_linux
1 Redhat enterprise_linux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-10840.

URL Resource
http://www.securityfocus.com/bid/104858 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:0162 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10840 Exploit 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/104858 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:0162 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10840 Exploit 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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-10840 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-10840 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 13, 2023

    Action Type Old Value New Value
    Changed Description The 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. 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.
    Removed Reference https://access.redhat.com/security/cve/CVE-2018-10840 [No Types Assigned]
    Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1582346 [No Types Assigned]
    Added CWE Red Hat, Inc. CWE-122
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed 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. The 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.
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1582346 [No Types Assigned]
    Added Reference https://access.redhat.com/security/cve/CVE-2018-10840 [No Types Assigned]
    Removed CWE Red Hat, Inc. CWE-122
    Removed CWE Reason CWE-122 / CWE from CNA not within 1003 View
  • Modified Analysis by [email protected]

    Aug. 28, 2020

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Removed CWE NIST CWE-119
    Added CWE NIST CWE-787
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CVSS V3 Red Hat, Inc. AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
    Added CWE Red Hat, Inc. CWE-122
  • Modified Analysis by [email protected]

    Mar. 04, 2019

    Action Type Old Value New Value
    Changed Reference Type http://www.securityfocus.com/bid/104858 No Types Assigned http://www.securityfocus.com/bid/104858 Third Party Advisory, VDB Entry
    Changed Reference Type https://access.redhat.com/errata/RHSA-2019:0162 No Types Assigned https://access.redhat.com/errata/RHSA-2019:0162 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 30, 2019

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2019:0162 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 07, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/104858 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 17, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10840 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10840 Exploit, Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3752-1/ No Types Assigned https://usn.ubuntu.com/3752-1/ Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3752-2/ No Types Assigned https://usn.ubuntu.com/3752-2/ Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3752-3/ No Types Assigned https://usn.ubuntu.com/3752-3/ Third Party Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • CVE Modified by [email protected]

    Aug. 29, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3752-3/ [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 24, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3752-2/ [No Types Assigned]
    Added Reference https://usn.ubuntu.com/3752-1/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-10840 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-10840 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.15 }} 0.02%

score

0.49551

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability