Skip to content
OpenAdvisories

Description

c-ares is an asynchronous resolver library. c-ares is vulnerable to denial of service. If a target resolver sends a query, the attacker forges a malformed UDP packet with a length of 0 and returns them to the target resolver. The target resolver erroneously interprets the 0 length as a graceful shutdown of the connection. This issue has been 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.18.1-3 —
Debian 13 c-ares 1.18.1-3 —
Debian 12 c-ares 1.18.1-3 —
Debian 11 c-ares 1.17.1-1+deb11u3 DSA-5419-1
Debian 10 c-ares 1.14.0-1+deb10u3 DLA-3471-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS c-ares 1.18.1-1ubuntu0.22.04.2 USN-6164-1
Ubuntu 20.04 LTS c-ares 1.15.0-1ubuntu0.3 USN-6164-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS c-ares 1.14.0-1ubuntu0.2+esm1 USN-6164-2
Ubuntu Pro 16.04 LTS c-ares 1.10.0-3ubuntu0.2+esm2 USN-6164-2
ReleasePackageFixed inAdvisory
RHEL 9 c-ares +1 1.17.1-5.el9_2.1 RHSA-2023:3559
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 c-ares +1 1.13.0-6.el8_8.2 RHSA-2023:3584
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 7 c-ares +1 1.10.0-3.el7_9.1 RHSA-2023:3741
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 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.0 EUS c-ares +1 1.17.1-5.el9_0.1 RHSA-2023:3583
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 c-ares +1 1.13.0-6.el8_6.1 RHSA-2023:3662
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
RHEL 8.4 TUS c-ares +1 1.13.0-5.el8_4.2 RHSA-2023:3677
RHEL 8.4 E4S c-ares +1 1.13.0-5.el8_4.2 RHSA-2023:3677
RHEL 8.4 AUS c-ares +1 1.13.0-5.el8_4.2 RHSA-2023:3677
RHEL 8.2 TUS c-ares +1 1.13.0-5.el8_2.1 RHSA-2023:3660
RHEL 8.2 E4S c-ares +1 1.13.0-5.el8_2.1 RHSA-2023:3660
RHEL 8.2 AUS c-ares +1 1.13.0-5.el8_2.1 RHSA-2023:3660
RHEL 8.1 E4S c-ares +1 1.13.0-5.el8_1.1 RHSA-2023:3665

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 c-ares +1 1.17.1-5.el9_2.1 ALSA-2023:3559
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 c-ares +1 1.13.0-6.el8_8.2 ALSA-2023:3584
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 c-ares 1.17.1-5.el9_2.1 RLSA-2023:3559
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 c-ares 1.13.0-6.el8_8.2 RLSA-2023:3584
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.3 ALAS2-2023-2127

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 grpc 1.62.0-2 —
Azure Linux 2 (CBL-Mariner) c-ares 1.19.1-1 —
Azure Linux 2 (CBL-Mariner) fluent-bit 2.1.10-1 —
Azure Linux 2 (CBL-Mariner) grpc 1.42.0-8 —
Azure Linux 2 (CBL-Mariner) nodejs 16.20.1-2 —
Azure Linux 2 (CBL-Mariner) nodejs18 18.17.1-2 —
Azure Linux 2 (CBL-Mariner) python-gevent 21.1.2-3 —
Azure Linux 2 (CBL-Mariner) python-pycares No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 c-ares +1 1.17.1-5.el9_2.1 ELSA-2023-3559
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 c-ares +1 1.13.0-6.el8_8.2 ELSA-2023-3584
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
Oracle Linux 7 c-ares +1 1.10.0-3.el7_9.1 ELSA-2023-3741

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling c-ares 1.19.1-r0 —

Advisories 50

References