{"id":"CVE-2023-31124","summary":"AutoTools does not set CARES_RANDOM_FILE during cross compilation","details":"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.","aliases":["GHSA-54xr-f67r-4pc4"],"modified":"2026-05-15T11:53:21.741384225Z","published":"2023-05-25T21:09:31.881Z","related":["ALSA-2023:3577","ALSA-2023:3586","ALSA-2023:4034","ALSA-2023:4035","ALSA-2023:6635","CGA-cvpq-qppm-65cf","SUSE-SU-2023:2313-1","SUSE-SU-2023:2477-1","SUSE-SU-2023:2655-1","SUSE-SU-2023:2662-1","SUSE-SU-2023:2663-1","SUSE-SU-2023:2669-1","SUSE-SU-2023:2861-1","openSUSE-SU-2024:12951-1"],"database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31124.json","cwe_ids":["CWE-330"]},"references":[{"type":"WEB","url":"https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31124.json"},{"type":"ADVISORY","url":"https://github.com/c-ares/c-ares/security/advisories/GHSA-54xr-f67r-4pc4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31124"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202310-09"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}