All vulnerabilities

Servers and applications

CVE-2023-31124

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.

Severity
Low 3.7
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-31124
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-31124