What’s Vulnerable › Vulnerabilities

CVE-2023-31124: AutoTools does not set CARES_RANDOM_FILE during cross compilation

Description

c-ares is an asynchronous resolver library. 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. This issue was patched in version 1.19.1.

Affected products

How to fix

Upgrade to a fixed version: C-Ares Project C-Ares 1.19.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-31124 or the next vulnerability affects your stack