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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | c-ares | 1.19.1-2 | — |
| Debian 13 | c-ares | 1.19.1-2 | — |
| Debian 12 | c-ares | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | c-ares | 1.19.1-150000.3.23.1 | SUSE-SU-2023:2313-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | c-ares | 1.19.1-r0 | — |
Advisories 39
- ALSA-2023:6635 Moderate: c-ares security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:3586 Important: nodejs security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:3577 Important: nodejs:18 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:4035 Important: nodejs:18 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:4034 Important: nodejs:16 security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2023-1475 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 31, 2026
- WID-SEC-2023-2917 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 30, 2026
- RHSA-2023:4039 Red Hat Security Advisory: rh-nodejs14-nodejs security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2023:4034 Red Hat Security Advisory: nodejs:16 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2023:4036 Red Hat Security Advisory: nodejs security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2023:4033 Red Hat Security Advisory: nodejs:16 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2023:3586 Red Hat Security Advisory: nodejs security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2023:3577 Red Hat Security Advisory: nodejs:18 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2023:6635 Red Hat Security Advisory: c-ares security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2023:4035 Red Hat Security Advisory: nodejs:18 security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RLSA-2023:4034 Important: nodejs:16 security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2023:4035 Important: nodejs:18 security update Rocky Linux Security Advisories · Feb 5, 2026
- SUSE-SU-2023:2313-1 Security update for c-ares SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2663-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2861-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2669-1 Security update for nodejs18 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2477-1 Security update for libcares2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12951-1 c-ares-devel-1.19.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2023:3577 Important: nodejs:18 security update Rocky Linux Security Advisories · Oct 9, 2025
- ALAS2023-2023-344 Important: ecs-service-connect-agent security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 9, 2025
- SUSE-SU-2023:2655-1 Security update for nodejs16 SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2023:2662-1 Security update for nodejs18 SUSE / openSUSE Security Updates · May 2, 2025
- ICSA-24-046-15 Siemens SINEC NMS CISA ICS & IT advisories · Mar 12, 2024
- SSA-943925 SSA-943925: Multiple Vulnerabilities in SINEC NMS before V2.0 SP1 Siemens ProductCERT · Mar 12, 2024
- ICSA-24-046-11 Siemens SCALANCE XCM-/XRM-300 CISA ICS & IT advisories · Feb 13, 2024
- SSA-806742 SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4 Siemens ProductCERT · Feb 13, 2024
- ALAS2-2024-2429 Low: c-ares security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 22, 2024
- ELSA-2023-6635 Moderate: c-ares security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 11, 2023
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- ELSA-2023-4034 Important: nodejs:16 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 19, 2023
- ELSA-2023-4035 Important: nodejs:18 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 19, 2023
- ELSA-2023-3577 Important: 18 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 15, 2023
- ELSA-2023-3586 Important: nodejs security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 15, 2023
- ALAS2023-2023-198 Important: c-ares security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 7, 2023
References
- https://github.com/c-ares/c-ares/security/advisories/GHSA-54xr-f67r-4pc4
- https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/
- https://security.gentoo.org/glsa/202310-09