Skip to content
OpenAdvisories
Low · 3.7 CVE-2023-31124 EUVD-2023-35450

AutoTools does not set CARES_RANDOM_FILE during cross compilation

Published May 25, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
c-ares c-ares < 1.19.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 c-ares 1.19.1-2 —
Debian 13 c-ares 1.19.1-2 —
Debian 12 c-ares No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 c-ares +1 1.19.1-1.el9 RHSA-2023:6635
RHEL 9 nodejs +3 1:16.19.1-2.el9_2 RHSA-2023:3586, RHSA-2023:3577
RHEL 9 nodejs-devel 1:18.14.2-3.module+el9.2.0.z+18964+42696395 RHSA-2023:3577
RHEL 9 nodejs-nodemon 2.0.20-2.module+el9.2.0.z+18497+a402347c RHSA-2023:3577
RHEL 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+15718+e52ec601 RHSA-2023:3577
RHEL 9 npm 1:8.19.3-1.16.19.1.2.el9_2 RHSA-2023:3586, RHSA-2023:3577
RHEL 8 nodejs +3 1:16.19.1-2.module+el8.8.0+19038+6f60344f RHSA-2023:4035, RHSA-2023:4034
RHEL 8 nodejs-nodemon 2.0.20-2.module+el8.8.0+18432+27f188ac RHSA-2023:4035, RHSA-2023:4034
RHEL 8 nodejs-packaging 25-1.module+el8.5.0+10992+fac5fe06 RHSA-2023:4035, RHSA-2023:4034
RHEL 8 nodejs-packaging-bundler 2021.06-4.module+el8.7.0+15582+19c314fa RHSA-2023:4035
RHEL 8 npm 1:8.19.3-1.16.19.1.2.module+el8.8.0+19038+6f60344f RHSA-2023:4035, RHSA-2023:4034
RHEL 3 rh-nodejs14-nodejs +3 14.21.3-4.el7 RHSA-2023:4039
RHEL 3 rh-nodejs14-npm 6.14.18-14.21.3.4.el7 RHSA-2023:4039
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.0 EUS nodejs +3 1:16.18.1-4.el9_0 RHSA-2023:4036
RHEL 9.0 EUS npm 1:8.19.2-1.16.18.1.4.el9_0 RHSA-2023:4036
RHEL 8.6 EUS nodejs +3 1:16.19.1-2.module+el8.6.0+19139+7f27a8ff RHSA-2023:4033
RHEL 8.6 EUS nodejs-nodemon 2.0.20-3.module+el8.6.0+19139+7f27a8ff RHSA-2023:4033
RHEL 8.6 EUS nodejs-packaging 25-1.module+el8.5.0+10992+fac5fe06 RHSA-2023:4033
RHEL 8.6 EUS npm 1:8.19.3-1.16.19.1.2.module+el8.6.0+19139+7f27a8ff RHSA-2023:4033

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 c-ares +1 1.19.1-1.el9 ALSA-2023:6635
AlmaLinux 9 nodejs +3 1:16.19.1-2.el9_2 ALSA-2023:3586, ALSA-2023:3577
AlmaLinux 9 nodejs-devel 1:18.14.2-3.module_el9.2.0+30+e3312493 ALSA-2023:3577
AlmaLinux 9 nodejs-nodemon 2.0.20-2.module_el9.2.0+29+de583a0b ALSA-2023:3577
AlmaLinux 9 nodejs-packaging +1 2021.06-4.module_el9.1.0+13+d9a595ea ALSA-2023:3577
AlmaLinux 9 npm 1:8.19.3-1.16.19.1.2.el9_2 ALSA-2023:3586, ALSA-2023:3577
AlmaLinux 8 nodejs +3 1:16.19.1-2.module_el8.8.0+3586+d4fc0b72 ALSA-2023:4035, ALSA-2023:4034
AlmaLinux 8 nodejs-nodemon 2.0.20-2.module_el8.8.0+3587+ee652244 ALSA-2023:4035, ALSA-2023:4034
AlmaLinux 8 nodejs-packaging 25-1.module_el8.5.0+2605+45d748af ALSA-2023:4035, ALSA-2023:4034
AlmaLinux 8 nodejs-packaging-bundler 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2023:4035
AlmaLinux 8 npm 1:8.19.3-1.16.19.1.2.module_el8.8.0+3586+d4fc0b72 ALSA-2023:4035, ALSA-2023:4034

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 nodejs-nodemon 2.0.20-2.module+el9.6.0+32048+5323bb50 RLSA-2023:3577
Rocky Linux 9 nodejs-packaging 2021.06-4.module+el9.5.0+31770+0da7192d RLSA-2023:3577
Rocky Linux 8 nodejs 1:16.19.1-2.module+el8.8.0+1338+00a07a77 RLSA-2023:4035, RLSA-2023:4034
Rocky Linux 8 nodejs-nodemon 2.0.20-2.module+el8.7.0+1177+510ae886 RLSA-2023:4035, RLSA-2023:4034
Rocky Linux 8 nodejs-packaging 25-1.module+el8.7.0+1108+49363b0d RLSA-2023:4035, RLSA-2023:4034
ReleasePackageFixed inAdvisory
SLES 15 SP5 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLES 15 SP5 nodejs18 18.16.1-150400.9.9.1 SUSE-SU-2023:2669-1
SLES 15 SP4 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLES 15 SP4 nodejs16 16.20.1-150400.3.21.1 SUSE-SU-2023:2663-1
SLES 15 SP4 nodejs18 18.16.1-150400.9.9.1 SUSE-SU-2023:2669-1
SLES 15 SP3 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLES 15 SP3 nodejs16 16.20.1-150300.7.24.2 SUSE-SU-2023:2861-1
SLES 15 SP2 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLES 15 SP1 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
Show 23 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 libcares2 1.9.1-9.12.1 SUSE-SU-2023:2477-1
SLES 12 SP4 libcares2 1.9.1-9.12.1 SUSE-SU-2023:2477-1
SLES 12 SP2 libcares2 1.9.1-9.12.1 SUSE-SU-2023:2477-1
SLES 12 nodejs16 16.20.1-8.30.1 SUSE-SU-2023:2655-1
SLES 12 nodejs18 18.16.1-8.9.1 SUSE-SU-2023:2662-1
SLES for SAP 15 SP3 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLES for SAP 15 SP3 nodejs16 16.20.1-150300.7.24.2 SUSE-SU-2023:2861-1
SLES for SAP 15 SP2 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLES for SAP 15 SP1 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLES for SAP 12 SP5 libcares2 1.9.1-9.12.1 SUSE-SU-2023:2477-1
SLES for SAP 12 SP4 libcares2 1.9.1-9.12.1 SUSE-SU-2023:2477-1
SLE Real Time 15 SP3 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLE Micro 5.4 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLE Micro 5.3 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLE Micro 5.2 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLE Micro 5.1 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLE HPC 15 SP3 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLE HPC 15 SP3 nodejs16 16.20.1-150300.7.24.2 SUSE-SU-2023:2861-1
SLE HPC 15 SP2 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SLE HPC 15 SP1 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SUSE OpenStack Cloud Crowbar 9 libcares2 1.9.1-9.12.1 SUSE-SU-2023:2477-1
SUSE OpenStack Cloud 9 libcares2 1.9.1-9.12.1 SUSE-SU-2023:2477-1
SUSE Manager Server 4.2 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SUSE Manager Server 4.2 nodejs16 16.20.1-150300.7.24.2 SUSE-SU-2023:2861-1
SUSE Manager Proxy 4.2 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SUSE Enterprise Storage 7.1 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
SUSE Enterprise Storage 7.1 nodejs16 16.20.1-150300.7.24.2 SUSE-SU-2023:2861-1
SUSE Enterprise Storage 7 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed c-ares 1.19.1-1.1 openSUSE-SU-2024:12951-1
openSUSE Leap 15.5 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
openSUSE Leap 15.5 nodejs18 18.16.1-150400.9.9.1 SUSE-SU-2023:2669-1
openSUSE Leap 15.4 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1
openSUSE Leap 15.4 nodejs16 16.20.1-150400.3.21.1 SUSE-SU-2023:2663-1
openSUSE Leap 15.4 nodejs18 18.16.1-150400.9.9.1 SUSE-SU-2023:2669-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 c-ares 1.19.1-150000.3.23.1 SUSE-SU-2023:2313-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 c-ares +1 1.19.0-1.amzn2023 ALAS2023-2023-198
Amazon Linux 2023 ecs-service-connect-agent v1.27.0.0-1.amzn2023 ALAS2023-2023-344
Amazon Linux 2 c-ares +1 1.10.0-3.amzn2.0.5 ALAS2-2024-2429

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 c-ares +1 1.19.1-1.el9 ELSA-2023-6635
Oracle Linux 9 nodejs +3 1:16.19.1-2.el9_2 ELSA-2023-3586, ELSA-2023-3577
Oracle Linux 9 nodejs-devel 1:18.14.2-3.module+el9.2.0+21063+2bebdd12 ELSA-2023-3577
Oracle Linux 9 nodejs-nodemon 2.0.20-2.module+el9.2.0+21038+115df6a2 ELSA-2023-3577
Oracle Linux 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+20762+f52d7401 ELSA-2023-3577
Oracle Linux 9 npm 1:8.19.3-1.16.19.1.2.el9_2 ELSA-2023-3586, ELSA-2023-3577
Oracle Linux 8 nodejs +3 1:16.19.1-2.module+el8.8.0+21121+9536f36f ELSA-2023-4035, ELSA-2023-4034
Oracle Linux 8 nodejs-nodemon 2.0.20-2.module+el8.8.0+21122+857852f8 ELSA-2023-4035, ELSA-2023-4034
Oracle Linux 8 nodejs-packaging 25-1.module+el8.5.0+20388+4b61e68d ELSA-2023-4035, ELSA-2023-4034
Oracle Linux 8 nodejs-packaging-bundler 2021.06-4.module+el8.7.0+20766+0a247725 ELSA-2023-4035
Oracle Linux 8 npm 1:8.19.3-1.16.19.1.2.module+el8.8.0+21121+9536f36f ELSA-2023-4035, ELSA-2023-4034

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling c-ares 1.19.1-r0 —

Advisories 39

References