Advisory Published
Updated

REDHAT-BUG-2209494

First published: Wed May 24 2023(Updated: )

When cross-compiling c-ares and using the autotools build system, CARES_RANDOM_FILE will not be set, as seen when cross compiling aarch64 android. This will downgrade to using rand() as a fallback which could allow an attacker to take advantage of the lack of entropy by not using a CSPRNG. <a href="https://access.redhat.com/security/cve/CVE-2023-31124">CVE-2023-31124</a>. Low. AutoTools does not set CARES_RANDOM_FILE during cross compilation (<a href="https://github.com/c-ares/c-ares/security/advisories/GHSA-54xr-f67r-4pc4">https://github.com/c-ares/c-ares/security/advisories/GHSA-54xr-f67r-4pc4</a>)

Affected SoftwareAffected VersionHow to fix
CwpAPI

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 REDHAT-BUG-2209494?

    The severity of REDHAT-BUG-2209494 is potentially high due to the use of a non-cryptographically secure random number generator.

  • How can I fix REDHAT-BUG-2209494?

    To fix REDHAT-BUG-2209494, ensure that the cross-compilation includes a proper source of entropy for the CSPRNG.

  • What software is affected by REDHAT-BUG-2209494?

    The c-ares library is affected by REDHAT-BUG-2209494 when cross-compiling for certain platforms.

  • What are the risks associated with REDHAT-BUG-2209494?

    The risks associated with REDHAT-BUG-2209494 include potential exposure to predictability in random number generation, which could be exploited by attackers.

  • Is there a workaround for REDHAT-BUG-2209494?

    A temporary workaround for REDHAT-BUG-2209494 involves configuring the build system to explicitly set CARES_RANDOM_FILE during cross-compilation.

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