{"id":"CVE-2023-31124","published":"2023-05-25T21:09:31Z","modified":"2025-02-13T16:49:43Z","title":"AutoTools does not set CARES_RANDOM_FILE during cross compilation","vendor":"c-ares","product":"c-ares","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00936,"percentile":0.61676,"provenance":"source"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"references":[{"url":"https://github.com/c-ares/c-ares/security/advisories/GHSA-54xr-f67r-4pc4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/","tags":[]},{"url":"https://security.gentoo.org/glsa/202310-09","tags":[]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":12.34},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"c-ares","affectedVersions":[{"vendor":"c-ares","product":"c-ares","versions":["< 1.19.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-16T18:36:12.341822Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-35450","exploited":false,"provenance":"source"}}