CVE-2023-31124CWE-330

AutoTools does not set CARES_RANDOM_FILE during cross compilation

Low · published May 25, 2023

CVSS v3.1
3.7
EPSS
1%
Percentile
60.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.7 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00928 · 60.2th percentile
Weakness
CWE-330 · Use of Insufficiently Random Values
Published
2023-05-25T21:09Z
EPSS history
Timeline
  • 25 MAY 21:09Z
    AutoTools does not set CARES_RANDOM_FILE during cross compilation
    cvelistv5