VulnerabilityModified
CVE-2024-25389
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.
HIGH 7.5EPSS 0.82%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.82%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 0.82% probability · 55th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-338
- Affected
- rt-thread/rt-thread
- Source
- cve@mitre.org
References
- http://www.openwall.com/lists/oss-security/2024/03/05/1Issue Tracking, Mailing List
- https://github.com/RT-Thread/rt-thread/issues/8283Issue Tracking, Mitigation
- https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txtThird Party Advisory
- https://seclists.org/fulldisclosure/2024/Mar/28Mailing List
- https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/Third Party Advisory
- http://seclists.org/fulldisclosure/2024/Mar/28
- http://www.openwall.com/lists/oss-security/2024/03/05/1Issue Tracking, Mailing List
- https://github.com/RT-Thread/rt-thread/issues/8283Issue Tracking, Mitigation
- https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txtThird Party Advisory
- https://seclists.org/fulldisclosure/2024/Mar/28Mailing List
- https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.