CVE-2024-25629
published medium CVSS 3.1 · 4.4c-ares out of bounds read in ares__read_line()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| c-ares | — | c-ares< 1.27.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2494 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-562 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-563 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-568 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | c-ares | Advisory build | 1.13.0-11.el8_10 | ALSA-2024:4249 |
| Alpine Linux | edge | c-ares | Fixed | 1.27.0-r0 | Package fix record |
| Oracle Linux | 8 | c-aresaarch64 | Advisory build | 0:1.13.0-11.el8_10 | ELSA-2024-4249 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | c-aresaarch64 | Advisory build | 1.13.0-11.el8_10 | RHSA-2024:4249 |
| Ubuntu | bionic | c-ares | Advisory build | 1.14.0-1ubuntu0.2+esm2 | USN-6676-1 |
| AlmaLinux | 9 | c-ares | Advisory build | 1.19.1-2.el9_4 | ALSA-2024:3842 |
| Alpine Linux | v3.16 | c-ares | Fixed | 1.19.1-r1 | Package fix record |
| Alpine Linux | v3.17 | c-ares | Fixed | 1.19.1-r1 | Package fix record |
| Alpine Linux | v3.18 | c-ares | Fixed | 1.19.1-r1 | Package fix record |
| Alpine Linux | v3.19 | c-ares | Fixed | 1.27.0-r0 | Package fix record |
| Alpine Linux | v3.20 | c-ares | Fixed | 1.27.0-r0 | Package fix record |
| Alpine Linux | v3.21 | c-ares | Fixed | 1.27.0-r0 | Package fix record |
| Alpine Linux | v3.22 | c-ares | Fixed | 1.27.0-r0 | Package fix record |
| Alpine Linux | v3.23 | c-ares | Fixed | 1.27.0-r0 | Package fix record |
| Alpine Linux | v3.24 | c-ares | Fixed | 1.27.0-r0 | Package fix record |
| Oracle Linux | 8 | c-aresx86_64 | Advisory build | 0:1.13.0-11.el8_10 | ELSA-2024-4249 |
| Oracle Linux | 9 | c-aresaarch64 | Advisory build | 0:1.19.1-2.el9_4 | ELSA-2024-3842 |
| Oracle Linux | 9 | c-aresx86_64 | Advisory build | 0:1.19.1-2.el9_4 | ELSA-2024-3842 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresi686 | Advisory build | 1.13.0-11.el8_10 | RHSA-2024:4249 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresppc64le | Advisory build | 1.13.0-11.el8_10 | RHSA-2024:4249 |
| Red Hat Enterprise Linux | RHEL-8 | c-aress390x | Advisory build | 1.13.0-11.el8_10 | RHSA-2024:4249 |
| Red Hat Enterprise Linux | RHEL-8 | c-aressrc | Advisory build | 1.13.0-11.el8_10 | RHSA-2024:4249 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresx86_64 | Advisory build | 1.13.0-11.el8_10 | RHSA-2024:4249 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresaarch64 | Advisory build | 1.19.1-2.el9_4 | RHSA-2024:3842 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresi686 | Advisory build | 1.19.1-2.el9_4 | RHSA-2024:3842 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresppc64le | Advisory build | 1.19.1-2.el9_4 | RHSA-2024:3842 |
| Red Hat Enterprise Linux | RHEL-9 | c-aress390x | Advisory build | 1.19.1-2.el9_4 | RHSA-2024:3842 |
| Red Hat Enterprise Linux | RHEL-9 | c-aressrc | Advisory build | 1.19.1-2.el9_4 | RHSA-2024:3842 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresx86_64 | Advisory build | 1.19.1-2.el9_4 | RHSA-2024:3842 |
| Ubuntu | focal | c-ares | Advisory build | 1.15.0-1ubuntu0.5 | USN-6676-1 |
| Ubuntu | jammy | c-ares | Advisory build | 1.18.1-1ubuntu0.22.04.3 | USN-6676-1 |
| Ubuntu | xenial | c-ares | Advisory build | 1.10.0-3ubuntu0.2+esm3 | USN-6676-1 |
| AlmaLinux | 8 | c-ares-devel | Advisory build | 1.13.0-11.el8_10 | ALSA-2024:4249 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | ALSA-2024:2780 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | ALSA-2024:2778 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | ALSA-2024:2780 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | ALSA-2024:2778 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | ALSA-2024:2780 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | ALSA-2024:2778 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | ALSA-2024:2780 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | ALSA-2024:2778 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2024:2780 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.9.0+3731+490e3ce5 | ALSA-2024:2778 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2024:2780 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2024:2778 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2024:2780 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2024:2778 |
| AlmaLinux | 8 | npm | Advisory build | 1:10.5.0-1.18.20.2.1.module_el8.9.0+3828+c9fa9644 | ALSA-2024:2780 |
| AlmaLinux | 8 | npm | Advisory build | 1:10.5.0-1.20.12.2.2.module_el8.9.0+3827+11b91f3e | ALSA-2024:2778 |
| AlmaLinux | 9 | c-ares-devel | Advisory build | 1.19.1-2.el9_4 | ALSA-2024:3842 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:16.20.2-8.el9_4 | ALSA-2024:2910 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:18.20.2-2.module_el9.4.0+99+a01f7676 | ALSA-2024:2779 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:20.12.2-2.module_el9.4.0+100+71fc9528 | ALSA-2024:2853 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:18.20.2-2.module_el9.4.0+99+a01f7676 | ALSA-2024:2779 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:20.12.2-2.module_el9.4.0+100+71fc9528 | ALSA-2024:2853 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:16.20.2-8.el9_4 | ALSA-2024:2910 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:18.20.2-2.module_el9.4.0+99+a01f7676 | ALSA-2024:2779 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:20.12.2-2.module_el9.4.0+100+71fc9528 | ALSA-2024:2853 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:16.20.2-8.el9_4 | ALSA-2024:2910 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:18.20.2-2.module_el9.4.0+99+a01f7676 | ALSA-2024:2779 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:20.12.2-2.module_el9.4.0+100+71fc9528 | ALSA-2024:2853 |
| AlmaLinux | 9 | nodejs-libs | Advisory build | 1:16.20.2-8.el9_4 | ALSA-2024:2910 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2024:2779 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el9.3.0+47+c33bc288 | ALSA-2024:2853 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2024:2779 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.3.0+88+29afeaa2 | ALSA-2024:2853 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2024:2779 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.3.0+88+29afeaa2 | ALSA-2024:2853 |
| AlmaLinux | 9 | npm | Advisory build | 1:10.5.0-1.18.20.2.2.module_el9.4.0+99+a01f7676 | ALSA-2024:2779 |
| AlmaLinux | 9 | npm | Advisory build | 1:10.5.0-1.20.12.2.2.module_el9.4.0+100+71fc9528 | ALSA-2024:2853 |
| AlmaLinux | 9 | npm | Advisory build | 1:8.19.4-1.16.20.2.8.el9_4 | ALSA-2024:2910 |
| Oracle Linux | 8 | c-ares-develaarch64 | Advisory build | 0:1.13.0-11.el8_10 | ELSA-2024-4249 |
| Oracle Linux | 8 | c-ares-develx86_64 | Advisory build | 0:1.13.0-11.el8_10 | ELSA-2024-4249 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 20b | Advisory build | 1:20.12.2-2.module+el8.9.0+90318+7fb2e04b | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 20b | Advisory build | 1:20.12.2-2.module+el8.9.0+90318+7fb2e04b | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 20b | Advisory build | 1:20.12.2-2.module+el8.9.0+90318+7fb2e04b | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 20b | Advisory build | 1:20.12.2-2.module+el8.9.0+90318+7fb2e04b | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 20b | Advisory build | 1:20.12.2-2.module+el8.9.0+90318+7fb2e04b | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 20b | Advisory build | 1:20.12.2-2.module+el8.9.0+90318+7fb2e04b | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 20b | Advisory build | 1:20.12.2-2.module+el8.9.0+90318+7fb2e04b | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.20.2-1.module+el8.9.0+90319+0b1e7189 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 20b | Advisory build | 1:20.12.2-2.module+el8.9.0+90318+7fb2e04b | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el8.9.0+90157+ed89dc20 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el8.9.0+90157+ed89dc20 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.9.0+90157+ed89dc20 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.9.0+90157+ed89dc20 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.9.0+90157+ed89dc20 | ELSA-2024-2780 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-2778 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.9.0+90157+ed89dc20 | ELSA-2024-2780 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
c-ares is a C library for asynchronous DNS requests. `ares__read_line()` is used to parse local configuration files such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, the `HOSTALIASES` file, and if using a c-ares version prior to 1.27.0, the `/etc/hosts` file. If any of these configuration files has an embedded `NULL` character as the first character in a new line, it can lead to attempting to read memory prior to the start of the given buffer which may result in a crash. This issue is fixed in c-ares 1.27.0. No known workarounds exist.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| c-ares | c-ares | < 1.27.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-127 CWE-127: Buffer Under-read
References
5- https://github.com/c-ares/c-ares/commit/a804c04ddc8245fc8adf0e92368709639125e183
- https://github.com/c-ares/c-ares/security/advisories/GHSA-mg26-v6qh-x48q
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2P76QYINQNPEHUTEEDOUYIRZ2X6UVZ5K/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/CSCMTSPDIE2UHU34TIXQQHZ6JTE3Y3VF/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GX37LFPFQ3T6FFMMFYQTEGIQXXN7F27U/
Provider assertions
3GitHub_M · cna
c-ares out of bounds read in ares__read_line()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 000bc6534f1a1f96cc121cffeed9798d776b7e617b3f70fce9d2be4b363df803
- Ingested
- 23 Sep 2026, 08:20:06 UTC
- Source record
- Official CVE record