{"id":"OESA-2023-1339","summary":"c-ares security update","details":"This is c-ares, an asynchronous resolver library. It is intended for applications which need to perform DNS queries without blocking, or need to perform multiple\r\n\r\nSecurity Fix(es):\r\n\r\nc-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.(CVE-2023-31147)","modified":"2025-09-03T06:19:10.474206Z","published":"2023-06-10T11:05:22Z","upstream":["CVE-2023-31147"],"database_specific":{"severity":"Medium"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1339"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31147"}],"affected":[{"package":{"name":"c-ares","ecosystem":"openEuler:22.03-LTS","purl":"pkg:rpm/openEuler/c-ares&distro=openEuler-22.03-LTS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18.1-6.oe2203"}]}],"ecosystem_specific":{"src":["c-ares-1.18.1-6.oe2203.src.rpm"],"aarch64":["c-ares-1.18.1-6.oe2203.aarch64.rpm","c-ares-devel-1.18.1-6.oe2203.aarch64.rpm","c-ares-debugsource-1.18.1-6.oe2203.aarch64.rpm","c-ares-debuginfo-1.18.1-6.oe2203.aarch64.rpm"],"noarch":["c-ares-help-1.18.1-6.oe2203.noarch.rpm"],"x86_64":["c-ares-debuginfo-1.18.1-6.oe2203.x86_64.rpm","c-ares-devel-1.18.1-6.oe2203.x86_64.rpm","c-ares-1.18.1-6.oe2203.x86_64.rpm","c-ares-debugsource-1.18.1-6.oe2203.x86_64.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2023-1339.json"}}],"schema_version":"1.7.3"}