Descrizione
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.
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.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| rt-thread | rt-thread | <= 5.0.2 | – |
CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.
| Ambito | Impatto |
|---|---|
| Controllo degli accessi | Aggirare i meccanismi di protezione |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 221 CVE di tipo CWE-338, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org