5.5
MEDIUM
CVE-2024-47678
Linux Kernel ICMP Rate Limiting Inconsistent Check
Description

In the Linux kernel, the following vulnerability has been resolved: icmp: change the order of rate limits ICMP messages are ratelimited : After the blamed commits, the two rate limiters are applied in this order: 1) host wide ratelimit (icmp_global_allow()) 2) Per destination ratelimit (inetpeer based) In order to avoid side-channels attacks, we need to apply the per destination check first. This patch makes the following change : 1) icmp_global_allow() checks if the host wide limit is reached. But credits are not yet consumed. This is deferred to 3) 2) The per destination limit is checked/updated. This might add a new node in inetpeer tree. 3) icmp_global_consume() consumes tokens if prior operations succeeded. This means that host wide ratelimit is still effective in keeping inetpeer tree small even under DDOS. As a bonus, I removed icmp_global.lock as the fast path can use a lock-free operation.

INFO

Published Date :

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

Last Modified :

Oct. 23, 2024, 5:58 p.m.

Source :

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

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-47678 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-47678 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-47678 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.

  • Initial Analysis by [email protected]

    Oct. 23, 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:N/A:N
    Changed Reference Type https://git.kernel.org/stable/c/483397b4ba280813e4a9c161a0a85172ddb43d19 No Types Assigned https://git.kernel.org/stable/c/483397b4ba280813e4a9c161a0a85172ddb43d19 Patch
    Changed Reference Type https://git.kernel.org/stable/c/662ec52260cc07b9ae53ecd3925183c29d34288b No Types Assigned https://git.kernel.org/stable/c/662ec52260cc07b9ae53ecd3925183c29d34288b Patch
    Changed Reference Type https://git.kernel.org/stable/c/8c2bd38b95f75f3d2a08c93e35303e26d480d24e No Types Assigned https://git.kernel.org/stable/c/8c2bd38b95f75f3d2a08c93e35303e26d480d24e Patch
    Changed Reference Type https://git.kernel.org/stable/c/997ba8889611891f91e8ad83583466aeab6239a3 No Types Assigned https://git.kernel.org/stable/c/997ba8889611891f91e8ad83583466aeab6239a3 Patch
    Changed Reference Type https://git.kernel.org/stable/c/a7722921adb046e3836eb84372241f32584bdb07 No Types Assigned https://git.kernel.org/stable/c/a7722921adb046e3836eb84372241f32584bdb07 Patch
    Added CWE NIST CWE-203
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.18 up to (excluding) 6.1.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.54 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.13 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.2
  • 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: icmp: change the order of rate limits ICMP messages are ratelimited : After the blamed commits, the two rate limiters are applied in this order: 1) host wide ratelimit (icmp_global_allow()) 2) Per destination ratelimit (inetpeer based) In order to avoid side-channels attacks, we need to apply the per destination check first. This patch makes the following change : 1) icmp_global_allow() checks if the host wide limit is reached. But credits are not yet consumed. This is deferred to 3) 2) The per destination limit is checked/updated. This might add a new node in inetpeer tree. 3) icmp_global_consume() consumes tokens if prior operations succeeded. This means that host wide ratelimit is still effective in keeping inetpeer tree small even under DDOS. As a bonus, I removed icmp_global.lock as the fast path can use a lock-free operation.
    Added Reference kernel.org https://git.kernel.org/stable/c/997ba8889611891f91e8ad83583466aeab6239a3 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/662ec52260cc07b9ae53ecd3925183c29d34288b [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a7722921adb046e3836eb84372241f32584bdb07 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/483397b4ba280813e4a9c161a0a85172ddb43d19 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/8c2bd38b95f75f3d2a08c93e35303e26d480d24e [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-47678 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-47678 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 30, 2025 12:54