1. Home
  2. Vulnerabilities
  3. CVE-2023-31124

CVE-2023-31124

c-ares is an asynchronous resolver library. When cross-compiling c-ares and using the autotools build system…

Published 25 May 2023 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Low 33/100

Summary

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.

Affected products and versions

C-ares project (1 line(s))
C-ares project
ProductVersionsFixed inSource
C-ares before 1.19.1 (excluded) — NVD
Fedoraproject (2 line(s))
Fedoraproject
ProductVersionsFixed inSource
Fedora 37 — NVD
Fedora 38 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.1, NVD)
Weakness
CWE-330 · Cryptographie / secrets

How this data is obtained and calculated