CVE-2024-36975
Linux kernel KEYS: trusted ASN1 Encode Sequence vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Do not use WARN when encode fails When asn1_encode_sequence() fails, WARN is not the correct solution. 1. asn1_encode_sequence() is not an internal function (located in lib/asn1_encode.c). 2. Location is known, which makes the stack trace useless. 3. Results a crash if panic_on_warn is set. It is also noteworthy that the use of WARN is undocumented, and it should be avoided unless there is a carefully considered rationale to use it. Replace WARN with pr_err, and print the return value instead, which is only useful piece of information.
INFO
Published Date :
June 18, 2024, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 9:22 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
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-2024-36975
.
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-36975
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-36975
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/050bf3c793a07f96bd1e2fd62e1447f731ed733b Added Reference https://git.kernel.org/stable/c/1c652e1e10676f942149052d9329b8bf2703529a Added Reference https://git.kernel.org/stable/c/681935009fec3fc22af97ee312d4a24ccf3cf087 Added Reference https://git.kernel.org/stable/c/96f650995c70237b061b497c66755e32908f8972 Added Reference https://git.kernel.org/stable/c/d32c6e09f7c4bec3ebc4941323f0aa6366bc1487 Added Reference https://git.kernel.org/stable/c/ff91cc12faf798f573dab2abc976c1d5b1862fea -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 18, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Do not use WARN when encode fails When asn1_encode_sequence() fails, WARN is not the correct solution. 1. asn1_encode_sequence() is not an internal function (located in lib/asn1_encode.c). 2. Location is known, which makes the stack trace useless. 3. Results a crash if panic_on_warn is set. It is also noteworthy that the use of WARN is undocumented, and it should be avoided unless there is a carefully considered rationale to use it. Replace WARN with pr_err, and print the return value instead, which is only useful piece of information. Added Reference kernel.org https://git.kernel.org/stable/c/96f650995c70237b061b497c66755e32908f8972 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/681935009fec3fc22af97ee312d4a24ccf3cf087 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1c652e1e10676f942149052d9329b8bf2703529a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d32c6e09f7c4bec3ebc4941323f0aa6366bc1487 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ff91cc12faf798f573dab2abc976c1d5b1862fea [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/050bf3c793a07f96bd1e2fd62e1447f731ed733b [No types assigned]
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-36975
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-36975
weaknesses.