3.7

CVE-2023-31124: AutoTools does not set CARES_RANDOM_FILE during cross compilation

Modified
AliasesDEBIAN-CVE-2023-31124CGA-mxpw-h5xc-jgjcCGA-v3vr-rrj6-3mvx
Published 25-05-2023Last modified 13-02-2025

Vulnerability summary

CVE-2023-31124 is a low (CVSS 3.7) Use of Insufficiently Random Values vulnerability in c-ares_project c-ares. EPSS estimates a 0.93% chance of exploitation in the next 30 days, higher than 60.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.7/10
010
Low · v3.1 (CVE.org)
EPSS score
0.93%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 16 · Related 10

Timeline

  1. 25-05-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.93%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.93% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

C-ares1 product
C-ares_project1 product
Chainguard1 product
  • c-ares< 1.19.1-r0
Debian1 product
  • c-aresAll versions (No fix recorded) | < 1.19.1-2
Fedoraproject1 product
Wolfi1 product
  • c-ares< 1.19.1-r0

6 vendors · 6 products

References

8 links