{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-31147","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2023-04-24T21:44:10.418Z","datePublished":"2023-05-25T21:55:47.585Z","dateUpdated":"2025-02-13T16:49:46.904Z"},"containers":{"cna":{"title":"Insufficient randomness in generation of DNS query IDs in c-ares","problemTypes":[{"descriptions":[{"cweId":"CWE-330","lang":"en","description":"CWE-330: Use of Insufficiently Random Values","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2"},{"name":"https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1","tags":["x_refsource_MISC"],"url":"https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/"},{"url":"https://security.gentoo.org/glsa/202310-09"}],"affected":[{"vendor":"c-ares","product":"c-ares","versions":[{"version":"< 1.19.1","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2023-10-08T08:06:48.246Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-8r8p-23f3-64c2","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T14:45:25.630Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2"},{"name":"https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202310-09","tags":["x_transferred"]}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-16T18:25:39.252161Z","id":"CVE-2023-31147","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-01-16T18:25:47.351Z"}}]}}