Vulnerability in Rt-Thread
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.008, 57.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (0xdea/advisories, fkie-cad/nvd-json-data-feeds, hnsecurity/vulns). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/RT-Thread/rt-thread/issues/8283 (Mitigation, Issue Tracking)
- github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt (Third Party Advisory)
- security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/ (Third Party Advisory)
- seclists.org/fulldisclosure/2024/Mar/28 (Mailing List)
- [oss-security] 20240305 HNS-2024-05 - HN Security Advisory - Multiple vulnerabilities in RT-Thread RTOS (mailing-list, Mailing List, Issue Tracking)
- seclists.org/fulldisclosure/2024/Mar/28