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.
HighCVSS 7.5
EPSS 0.82%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rt-thread | <= 5.0.2 | after 5.0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rt-thread | <= 5.0.2 | No fix listed |
References
- github.com issue-tracking mitigation
- github.com third-party-advisory
- security.humanativaspa.it third-party-advisory
- seclists.org mailing-list
- [oss-security] 20240305 HNS-2024-05 - HN Security Advisory - Multiple vulnerabilities in RT-Thread RTOS issue-tracking mailing-list
- seclists.org