9.8
CRITICAL
CVE-2024-36031
Linux Kernel DNS Keys Expiration Overwrite Vulnerability
Description

In the Linux kernel, the following vulnerability has been resolved: keys: Fix overwrite of key expiration on instantiation The expiry time of a key is unconditionally overwritten during instantiation, defaulting to turn it permanent. This causes a problem for DNS resolution as the expiration set by user-space is overwritten to TIME64_MAX, disabling further DNS updates. Fix this by restoring the condition that key_set_expiry is only called when the pre-parser sets a specific expiry.

INFO

Published Date :

May 30, 2024, 4:15 p.m.

Last Modified :

April 1, 2025, 6:34 p.m.

Source :

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

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

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

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

    Apr. 01, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.8.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.206 up to (excluding) 5.10.217 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15.146 up to (excluding) 5.15.159 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1.70 up to (excluding) 6.1.91 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6.9 up to (excluding) 6.6.31 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.1
    Added Reference Type CVE: https://git.kernel.org/stable/c/25777f3f4e1f371d16a594925f31e37ce07b6ec7 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/25777f3f4e1f371d16a594925f31e37ce07b6ec7 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/939a08bcd4334bad4b201e60bd0ae1f278d71d41 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/939a08bcd4334bad4b201e60bd0ae1f278d71d41 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/9da27fb65a14c18efd4473e2e82b76b53ba60252 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9da27fb65a14c18efd4473e2e82b76b53ba60252 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/ad2011ea787928b2accb5134f1e423b11fe80a8a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/ad2011ea787928b2accb5134f1e423b11fe80a8a Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/cc219cb8afbc40ec100c0de941047bb29373126a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/cc219cb8afbc40ec100c0de941047bb29373126a Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/e4519a016650e952ad9eb27937f8c447d5a4e06d Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e4519a016650e952ad9eb27937f8c447d5a4e06d Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/ed79b93f725cd0da39a265dc23d77add1527b9be Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/ed79b93f725cd0da39a265dc23d77add1527b9be Types: Patch
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/25777f3f4e1f371d16a594925f31e37ce07b6ec7
    Added Reference https://git.kernel.org/stable/c/939a08bcd4334bad4b201e60bd0ae1f278d71d41
    Added Reference https://git.kernel.org/stable/c/9da27fb65a14c18efd4473e2e82b76b53ba60252
    Added Reference https://git.kernel.org/stable/c/ad2011ea787928b2accb5134f1e423b11fe80a8a
    Added Reference https://git.kernel.org/stable/c/cc219cb8afbc40ec100c0de941047bb29373126a
    Added Reference https://git.kernel.org/stable/c/e4519a016650e952ad9eb27937f8c447d5a4e06d
    Added Reference https://git.kernel.org/stable/c/ed79b93f725cd0da39a265dc23d77add1527b9be
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 15, 2024

    Action Type Old Value New Value
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 03, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-324
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 27, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html [No types assigned]
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 30, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: keys: Fix overwrite of key expiration on instantiation The expiry time of a key is unconditionally overwritten during instantiation, defaulting to turn it permanent. This causes a problem for DNS resolution as the expiration set by user-space is overwritten to TIME64_MAX, disabling further DNS updates. Fix this by restoring the condition that key_set_expiry is only called when the pre-parser sets a specific expiry.
    Added Reference kernel.org https://git.kernel.org/stable/c/ad2011ea787928b2accb5134f1e423b11fe80a8a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/ed79b93f725cd0da39a265dc23d77add1527b9be [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e4519a016650e952ad9eb27937f8c447d5a4e06d [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/25777f3f4e1f371d16a594925f31e37ce07b6ec7 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/939a08bcd4334bad4b201e60bd0ae1f278d71d41 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/cc219cb8afbc40ec100c0de941047bb29373126a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/9da27fb65a14c18efd4473e2e82b76b53ba60252 [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-36031 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-36031 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: May. 14, 2025 6:29