CVE-2022-4904
C-ares Project C-ares vulnerability
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.
Affected products
C-ares, Software Collections, Enterprise Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether C-ares Project C-ares runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=2168631 · Third Party Advisory
- github.com/c-ares/c-ares/issues/496 · Exploit
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3
- security.gentoo.org/glsa/202401-02
- nvd.nist.gov/vuln/detail/CVE-2022-4904
- cve.org/CVERecord?id=CVE-2022-4904
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.