Live threats

All CVEs / C-ares Project

CVE-2023-31124C-ares Project C-ares

Low 3.7 No auth needed

Priority
37
CVSS 3.1
3.7
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
May 25, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-330
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for C-ares.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
c-ares_projectc-ares< 1.19.1
fedoraprojectfedora37
fedoraprojectfedora38

Official sources

References

Links published by the sources. Open them with care.