PT-2024-20913

CVE-2024-25389

·

Published

2024-03-05

·

Updated

2024-07-03

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions RT-Thread versions through 5.0.2
Description The issue is related to a weak random number generation algorithm used in RT-Thread. The algorithm, defined as seed = 214013L * seed + 2531011L; return (seed >> 16) & 0x7FFF;, is implemented in the calc random function within the drivers/misc/rt random.c file. This weakness can potentially lead to predictable random numbers.
Recommendations For RT-Thread versions through 5.0.2, consider modifying the calc random function to utilize a more secure random number generation algorithm until a patch is available. As a temporary workaround, restrict the use of the calc random function to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Researchers
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾