Name | CVE-2022-4904 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3323-1, ELA-800-1 |
Debian Bugs | 1031525 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
c-ares (PTS) | jessie, jessie (lts) | 1.10.0-2+deb8u7 | fixed |
| stretch (security) | 1.12.0-1+deb9u2 | vulnerable |
| stretch (lts), stretch | 1.12.0-1+deb9u6 | fixed |
| buster (security), buster, buster (lts) | 1.14.0-1+deb10u4 | fixed |
| bullseye (security), bullseye | 1.17.1-1+deb11u3 | fixed |
| bookworm | 1.18.1-3 | fixed |
| sid, trixie | 1.34.2-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://bugzilla.redhat.com/show_bug.cgi?id=2168631
https://github.com/c-ares/c-ares/pull/497
https://github.com/c-ares/c-ares/commit/9903253c347f9e0bffd285ae3829aef251cc852d (cares-1_19_0)