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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2023-05-25T21:09:31.881Z
Updated: 2024-08-02T14:45:25.746Z
Reserved: 2023-04-24T21:44:10.415Z
Link: CVE-2023-31124
Vulnrichment
No data.
NVD
Status : Analyzed
Published: 2023-05-25T22:15:09.680
Modified: 2023-10-31T16:05:56.790
Link: CVE-2023-31124
Redhat