CVE-2024-25389
RT-Thread Weak Random Number Generator
Description
RT-Thread through 5.0.2 generates random numbers with a weak algorithm of "seed = 214013L * seed + 2531011L; return (seed >> 16) & 0x7FFF;" in calc_random in drivers/misc/rt_random.c.
INFO
Published Date :
March 27, 2024, 3:15 a.m.
Last Modified :
April 16, 2025, 6:57 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2024-25389 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-25389
.
URL | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2024/03/05/1 | Mailing List Issue Tracking |
https://github.com/RT-Thread/rt-thread/issues/8283 | Issue Tracking Mitigation |
https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt | Third Party Advisory |
https://seclists.org/fulldisclosure/2024/Mar/28 | Mailing List |
https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/ | Third Party Advisory |
http://www.openwall.com/lists/oss-security/2024/03/05/1 | Mailing List Issue Tracking |
https://github.com/RT-Thread/rt-thread/issues/8283 | Issue Tracking Mitigation |
https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt | Third Party Advisory |
https://seclists.org/fulldisclosure/2024/Mar/28 | Mailing List |
https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/ | 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).
HN Security's advisories.
A collection of my public security advisories.
vulnerability advisory cve
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-25389
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-25389
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. 16, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:rt-thread:rt-thread:*:*:*:*:*:*:*:* versions up to (including) 5.0.2 Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2024/03/05/1 Types: Issue Tracking, Mailing List Added Reference Type MITRE: http://www.openwall.com/lists/oss-security/2024/03/05/1 Types: Issue Tracking, Mailing List Added Reference Type CVE: https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt Types: Third Party Advisory Added Reference Type MITRE: https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt Types: Third Party Advisory Added Reference Type CVE: https://github.com/RT-Thread/rt-thread/issues/8283 Types: Issue Tracking, Mitigation Added Reference Type MITRE: https://github.com/RT-Thread/rt-thread/issues/8283 Types: Issue Tracking, Mitigation Added Reference Type CVE: https://seclists.org/fulldisclosure/2024/Mar/28 Types: Mailing List Added Reference Type MITRE: https://seclists.org/fulldisclosure/2024/Mar/28 Types: Mailing List Added Reference Type CVE: https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/ Types: Third Party Advisory Added Reference Type MITRE: https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/ Types: Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2024/03/05/1 Added Reference https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt Added Reference https://github.com/RT-Thread/rt-thread/issues/8283 Added Reference https://seclists.org/fulldisclosure/2024/Mar/28 Added Reference https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/ -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 03, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-338 Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
May. 01, 2024
Action Type Old Value New Value Added Reference MITRE http://www.openwall.com/lists/oss-security/2024/03/05/1 [No types assigned] -
CVE Received by [email protected]
Mar. 27, 2024
Action Type Old Value New Value Added Description RT-Thread through 5.0.2 generates random numbers with a weak algorithm of "seed = 214013L * seed + 2531011L; return (seed >> 16) & 0x7FFF;" in calc_random in drivers/misc/rt_random.c. Added Reference MITRE https://github.com/RT-Thread/rt-thread/issues/8283 [No types assigned] Added Reference MITRE https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt [No types assigned] Added Reference MITRE https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/ [No types assigned] Added Reference MITRE https://seclists.org/fulldisclosure/2024/Mar/28 [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-25389
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-25389
weaknesses.