7.5
CWE
338
EPSS
0.045%
Advisory Published
Updated

CVE-2024-25389: Weak RNG

First published: Wed Mar 27 2024(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
RT-Thread<=5.0.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-25389?

    CVE-2024-25389 is classified as a medium severity vulnerability due to its impact on randomness generation.

  • How do I fix CVE-2024-25389?

    To fix CVE-2024-25389, upgrade RT-Thread to version 5.0.3 or later where the random number generation algorithm has been improved.

  • What are the potential impacts of CVE-2024-25389?

    The potential impacts of CVE-2024-25389 include vulnerabilities to cryptographic operations and reduced security in applications relying on randomness.

  • Is CVE-2024-25389 exploitable remotely?

    CVE-2024-25389 is not directly exploitable remotely, but its weak random number generation can lead to security risks in networked applications.

  • What software versions are affected by CVE-2024-25389?

    CVE-2024-25389 affects all RT-Thread versions up to and including 5.0.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203