All vulnerabilities

Servers and applications

CVE-2023-31147

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…

Severity
Medium 6.5
Published
25 May 2023
Last changed
17 Jun 2026
Added to UpHeron
22 Oct 2026
Fixed in
1.19.1
Sources
NVD

Affected software

SoftwareAffected versions
c-aresServers and applications · cpe:a:c-ares_project:c-ares
  • Every version before 1.19.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-31147
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-31147