{"id":"DEBIAN-CVE-2023-31124","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.","modified":"2026-09-15T09:02:42.185506085Z","published":"2023-05-25T22:15:09.680Z","upstream":["CVE-2023-31124"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2023-31124"}],"affected":[{"package":{"name":"c-ares","ecosystem":"Debian:12","purl":"pkg:deb/debian/c-ares?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18.1-3","1.19.0-1","1.19.1-1","1.19.1-2","1.19.1-3","1.20.0-1","1.20.0-2","1.20.0-3","1.20.1-1","1.21.0-1","1.22.0-1","1.22.1-1","1.23.0-1","1.24.0-1","1.25.0-1","1.26.0-1","1.26.0-1.1~exp1","1.27.0-1","1.27.0-1.1","1.27.0-1.1~exp1","1.27.0-1.2","1.28.1-1","1.29.0-1","1.30.0-1","1.31.0-1","1.32.2-1","1.32.2-2","1.32.3-1","1.33.0-1","1.33.1-1","1.33.1-2","1.34.2-1","1.34.3-1","1.34.4-1","1.34.4-2","1.34.4-2.1","1.34.5-1","1.34.6-1","1.34.7-1","1.34.8-1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-31124.json"}},{"package":{"name":"c-ares","ecosystem":"Debian:13","purl":"pkg:deb/debian/c-ares?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.1-2"}]}],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-31124.json"}},{"package":{"name":"c-ares","ecosystem":"Debian:14","purl":"pkg:deb/debian/c-ares?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.1-2"}]}],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-31124.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}