CVE-2022-4904
published high CVSS 3.1 · 8.6c-ares: buffer overflow in config_sortlist() due to missing string length check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | c-aresunknown | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2399 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-198 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-243 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | c-ares | Advisory build | 1.13.0-8.el8 | ALSA-2023:7116 |
| Debian | buster | c-ares | Advisory build | 1.14.0-1+deb10u2 | DLA-3323-1 |
| Oracle Linux | 8 | c-aresaarch64 | Advisory build | 0:1.13.0-8.el8 | ELSA-2023-7116 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresaarch64 | Advisory build | 1.13.0-6.el8_8.3 | RHSA-2023:7543 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | c-ares | Advisory build | 1.14.0-1ubuntu0.2 | USN-5907-1 |
| AlmaLinux | 9 | c-ares | Advisory build | 1.19.1-1.el9 | ALSA-2023:6635 |
| Oracle Linux | 8 | c-aresx86_64 | Advisory build | 0:1.13.0-8.el8 | ELSA-2023-7116 |
| Oracle Linux | 9 | c-aresaarch64 | Advisory build | 0:1.19.1-1.el9 | ELSA-2023-6635 |
| Oracle Linux | 9 | c-aresx86_64 | Advisory build | 0:1.19.1-1.el9 | ELSA-2023-6635 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresaarch64 | Advisory build | 1.13.0-8.el8 | RHSA-2023:7116 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresi686 | Advisory build | 1.13.0-6.el8_8.3 | RHSA-2023:7543 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresi686 | Advisory build | 1.13.0-8.el8 | RHSA-2023:7116 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresppc64le | Advisory build | 1.13.0-6.el8_8.3 | RHSA-2023:7543 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresppc64le | Advisory build | 1.13.0-8.el8 | RHSA-2023:7116 |
| Red Hat Enterprise Linux | RHEL-8 | c-aress390x | Advisory build | 1.13.0-6.el8_8.3 | RHSA-2023:7543 |
| Red Hat Enterprise Linux | RHEL-8 | c-aress390x | Advisory build | 1.13.0-8.el8 | RHSA-2023:7116 |
| Red Hat Enterprise Linux | RHEL-8 | c-aressrc | Advisory build | 1.13.0-6.el8_8.3 | RHSA-2023:7543 |
| Red Hat Enterprise Linux | RHEL-8 | c-aressrc | Advisory build | 1.13.0-8.el8 | RHSA-2023:7116 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresx86_64 | Advisory build | 1.13.0-6.el8_8.3 | RHSA-2023:7543 |
| Red Hat Enterprise Linux | RHEL-8 | c-aresx86_64 | Advisory build | 1.13.0-8.el8 | RHSA-2023:7116 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresaarch64 | Advisory build | 1.17.1-5.el9_0.2 | RHSA-2023:6291 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresaarch64 | Advisory build | 1.17.1-5.el9_2.2 | RHSA-2023:7368 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresaarch64 | Advisory build | 1.19.1-1.el9 | RHSA-2023:6635 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresi686 | Advisory build | 1.17.1-5.el9_0.2 | RHSA-2023:6291 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresi686 | Advisory build | 1.17.1-5.el9_2.2 | RHSA-2023:7368 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresi686 | Advisory build | 1.19.1-1.el9 | RHSA-2023:6635 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresppc64le | Advisory build | 1.17.1-5.el9_0.2 | RHSA-2023:6291 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresppc64le | Advisory build | 1.17.1-5.el9_2.2 | RHSA-2023:7368 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresppc64le | Advisory build | 1.19.1-1.el9 | RHSA-2023:6635 |
| Red Hat Enterprise Linux | RHEL-9 | c-aress390x | Advisory build | 1.17.1-5.el9_0.2 | RHSA-2023:6291 |
| Red Hat Enterprise Linux | RHEL-9 | c-aress390x | Advisory build | 1.17.1-5.el9_2.2 | RHSA-2023:7368 |
| Red Hat Enterprise Linux | RHEL-9 | c-aress390x | Advisory build | 1.19.1-1.el9 | RHSA-2023:6635 |
| Red Hat Enterprise Linux | RHEL-9 | c-aressrc | Advisory build | 1.17.1-5.el9_0.2 | RHSA-2023:6291 |
| Red Hat Enterprise Linux | RHEL-9 | c-aressrc | Advisory build | 1.17.1-5.el9_2.2 | RHSA-2023:7368 |
| Red Hat Enterprise Linux | RHEL-9 | c-aressrc | Advisory build | 1.19.1-1.el9 | RHSA-2023:6635 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresx86_64 | Advisory build | 1.17.1-5.el9_0.2 | RHSA-2023:6291 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresx86_64 | Advisory build | 1.17.1-5.el9_2.2 | RHSA-2023:7368 |
| Red Hat Enterprise Linux | RHEL-9 | c-aresx86_64 | Advisory build | 1.19.1-1.el9 | RHSA-2023:6635 |
| Ubuntu | focal | c-ares | Advisory build | 1.15.0-1ubuntu0.2 | USN-5907-1 |
| Ubuntu | jammy | c-ares | Advisory build | 1.18.1-1ubuntu0.22.04.1 | USN-5907-1 |
| Ubuntu | xenial | c-ares | Advisory build | 1.10.0-3ubuntu0.2+esm4 | USN-8951-1 |
| AlmaLinux | 8 | c-ares-devel | Advisory build | 1.13.0-8.el8 | ALSA-2023:7116 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:14.21.3-1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:16.19.1-1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:18.14.2-3.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:14.21.3-1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:16.19.1-1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:18.14.2-3.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:14.21.3-1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:16.19.1-1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:18.14.2-3.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:14.21.3-1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:16.19.1-1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:18.14.2-3.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.20-2.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.20-3.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.20-3.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:4035 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 25-1.module_el8.5.0+2605+45d748af | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:4035 |
| AlmaLinux | 8 | npm | Advisory build | 1:6.14.18-1.14.21.3.1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | npm | Advisory build | 1:8.19.3-1.16.19.1.1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | npm | Advisory build | 1:9.5.0-1.18.14.2.3.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 |
| AlmaLinux | 9 | c-ares-devel | Advisory build | 1.19.1-1.el9 | ALSA-2023:6635 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:16.19.1-1.el9_2 | ALSA-2023:2655 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:16.19.1-1.el9_2 | ALSA-2023:2655 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:16.19.1-1.el9_2 | ALSA-2023:2655 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-libs | Advisory build | 1:16.19.1-1.el9_2 | ALSA-2023:2655 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 2.0.20-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:2654 |
| AlmaLinux | 9 | npm | Advisory build | 1:8.19.3-1.16.19.1.1.el9_2 | ALSA-2023:2655 |
| AlmaLinux | 9 | npm | Advisory build | 1:9.5.0-1.18.14.2.2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| Oracle Linux | 8 | c-ares-develaarch64 | Advisory build | 0:1.13.0-8.el8 | ELSA-2023-7116 |
| Oracle Linux | 8 | c-ares-develx86_64 | Advisory build | 0:1.13.0-8.el8 | ELSA-2023-7116 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.14.2-3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.14.2-3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.14.2-3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.14.2-3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.14.2-3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.14.2-3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string, which allows a possible arbitrary length stack overflow. This issue may cause a denial of service or a limited impact on confidentiality and integrity.
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
- 8.6 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | c-ares | unknown (affected) | redhat · cna |
Weaknesses
1- CWE-20 CWE-20->CWE-119
References
4- https://bugzilla.redhat.com/show_bug.cgi?id=2168631
- https://github.com/c-ares/c-ares/issues/496
- FEDORA-2023-30e81e5293 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALUQZXJCWJS2/
- GLSA-202401-02 https://security.gentoo.org/glsa/202401-02
Provider assertions
3redhat · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 90a9f67d3cefc8a20de17365442ac2beff3307d633e5ca2c95362ae9a27dc4ca
- Ingested
- 23 Sep 2026, 08:04:39 UTC
- Source record
- Official CVE record