{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-31147","published":"2023-05-25T22:15:09.833000Z","last_modified":"2026-06-17T05:56:22.987000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-330"],"cpes":[{"criteria":"cpe:2.3:a:c-ares_project:c-ares:*:*:*:*:*:*:*:*","part":"a","vendor":"c-ares_project","product":"c-ares","version_end_excluding":"1.19.1"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"37"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"38"}],"cpes_truncated":false,"vendors":["c-ares_project","fedoraproject"],"products":["c-ares_project/c-ares","fedoraproject/fedora"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01055,"percentile":0.63839,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2023-31147/","html_en":"/en/cve/CVE-2023-31147/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-31147","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-31147"},"untrusted":{"vendor_name":"C-ares Project","product_name":"C-ares","desc_en":"c-ares is an asynchronous resolver library. When /dev/urandom or RtlGenRandom() are unavailable, c-ares uses rand() to generate random numbers used for DNS query ids. This is not a CSPRNG, and it is also not seeded by srand() so will generate predictable output. Input from the random number generator is fed into a non-compilant RC4 implementation and may not be as strong as the original RC4 implementation. No attempt is made to look for modern OS-provided CSPRNGs like arc4random() that is widely available. This issue has been fixed in version 1.19.1.","affected":[{"untrusted_vendor":"c-ares","untrusted_product":"c-ares","versions":[]}],"references":[{"url":"https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1","tags":["Release Notes"]},{"url":"https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202310-09","tags":["Third Party Advisory"]}]}}