7.8
HIGH
CVE-2024-49995
Linux Kernel TIPC String Buffer Overrun ( strcpy/strscpy Buffer Overflow)
Description

In the Linux kernel, the following vulnerability has been resolved: tipc: guard against string buffer overrun Smatch reports that copying media_name and if_name to name_parts may overwrite the destination. .../bearer.c:166 bearer_name_validate() error: strcpy() 'media_name' too large for 'name_parts->media_name' (32 vs 16) .../bearer.c:167 bearer_name_validate() error: strcpy() 'if_name' too large for 'name_parts->if_name' (1010102 vs 16) This does seem to be the case so guard against this possibility by using strscpy() and failing if truncation occurs. Introduced by commit b97bf3fd8f6a ("[TIPC] Initial merge") Compile tested only.

INFO

Published Date :

Oct. 21, 2024, 6:15 p.m.

Last Modified :

Nov. 8, 2024, 4:15 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-49995 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

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-2024-49995 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-49995 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 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 08, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://git.kernel.org/stable/c/8298b6e45fb4d8944f356b08e4ea3e54df5e0488 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/c79768ffba5b6e95569a463a69b3101c95694867 [No types assigned]
  • Initial Analysis by [email protected]

    Oct. 28, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.kernel.org/stable/c/12d26aa7fd3cbdbc5149b6e516563478d575026e No Types Assigned https://git.kernel.org/stable/c/12d26aa7fd3cbdbc5149b6e516563478d575026e Patch
    Changed Reference Type https://git.kernel.org/stable/c/2ed7f42dfd3edb387034128ca5b0f639836d4ddd No Types Assigned https://git.kernel.org/stable/c/2ed7f42dfd3edb387034128ca5b0f639836d4ddd Patch
    Changed Reference Type https://git.kernel.org/stable/c/54dae0e9063ed23c9acf8d5ab9b18d3426a8ac18 No Types Assigned https://git.kernel.org/stable/c/54dae0e9063ed23c9acf8d5ab9b18d3426a8ac18 Patch
    Changed Reference Type https://git.kernel.org/stable/c/6555a2a9212be6983d2319d65276484f7c5f431a No Types Assigned https://git.kernel.org/stable/c/6555a2a9212be6983d2319d65276484f7c5f431a Patch
    Changed Reference Type https://git.kernel.org/stable/c/80c0be7bcf940ce9308311575c3aff8983c9b97a No Types Assigned https://git.kernel.org/stable/c/80c0be7bcf940ce9308311575c3aff8983c9b97a Patch
    Changed Reference Type https://git.kernel.org/stable/c/a18c7b239d02aafb791ae2c45226f6bb40641792 No Types Assigned https://git.kernel.org/stable/c/a18c7b239d02aafb791ae2c45226f6bb40641792 Patch
    Changed Reference Type https://git.kernel.org/stable/c/e2b2558971e02ca33eb637a8350d68a48b3e8e46 No Types Assigned https://git.kernel.org/stable/c/e2b2558971e02ca33eb637a8350d68a48b3e8e46 Patch
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.10.227 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.55 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.3
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 21, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: tipc: guard against string buffer overrun Smatch reports that copying media_name and if_name to name_parts may overwrite the destination. .../bearer.c:166 bearer_name_validate() error: strcpy() 'media_name' too large for 'name_parts->media_name' (32 vs 16) .../bearer.c:167 bearer_name_validate() error: strcpy() 'if_name' too large for 'name_parts->if_name' (1010102 vs 16) This does seem to be the case so guard against this possibility by using strscpy() and failing if truncation occurs. Introduced by commit b97bf3fd8f6a ("[TIPC] Initial merge") Compile tested only.
    Added Reference kernel.org https://git.kernel.org/stable/c/e2b2558971e02ca33eb637a8350d68a48b3e8e46 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/54dae0e9063ed23c9acf8d5ab9b18d3426a8ac18 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/80c0be7bcf940ce9308311575c3aff8983c9b97a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/12d26aa7fd3cbdbc5149b6e516563478d575026e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/2ed7f42dfd3edb387034128ca5b0f639836d4ddd [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a18c7b239d02aafb791ae2c45226f6bb40641792 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/6555a2a9212be6983d2319d65276484f7c5f431a [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-2024-49995 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-2024-49995 weaknesses.

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