Vulnerability record · CVE-2022-4904 · published 6 March 2023
CVE-2022-4904: C-ares project c-ares improper input validation vulnerability
C Ares Project · C Ares
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Affected products
4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2168631 | Issue TrackingThird Party Advisory |
| https://github.com/c-ares/c-ares/issues/496 | ExploitIssue Tracking |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALU | |
| https://security.gentoo.org/glsa/202401-02 | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2168631 | Issue TrackingThird Party Advisory |
| https://github.com/c-ares/c-ares/issues/496 | ExploitIssue Tracking |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALU | |
| https://security.gentoo.org/glsa/202401-02 |
Track CVE-2022-4904 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-4904), CISA KEV, FIRST EPSS (scores of 2026-10-02). This page is refreshed as NVD updates the record.