VulnerabilityModified
CVE-2022-4904
The ares_set_sortlist is missing checks about the validity of the input string, which allows a possible arbitrary length stack overflow.
HIGH 8.6EPSS 1.22%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.22%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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
- 8.6 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- EPSS
- 1.22% probability · 67th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20, CWE-1284
- Affected
- c-ares project/c-ares · redhat/software collections · redhat/enterprise linux · fedoraproject/fedora
- Source
- secalert@redhat.com
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2168631Issue Tracking, Third Party Advisory
- https://github.com/c-ares/c-ares/issues/496Exploit, Issue Tracking
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALUQZXJCWJS2/
- https://security.gentoo.org/glsa/202401-02
- https://bugzilla.redhat.com/show_bug.cgi?id=2168631Issue Tracking, Third Party Advisory
- https://github.com/c-ares/c-ares/issues/496Exploit, Issue Tracking
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALUQZXJCWJS2/
- https://security.gentoo.org/glsa/202401-02
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.