High severity · published Mar 6, 2023
CVE-2022-4904
A flaw was found in the c-ares package
8.6
CVSS
1.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 69% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CA
C-ares · C-ares Project
before 1.19.0 · source: NVD
EL
Enterprise Linux · Redhat
8.0; 9.0 · source: NVD
FE
Fedora · Fedoraproject
36 · source: NVD
SC
Software Collections · Redhat
All versions, or not specified · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-4904
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-4904
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2168631
Exploit
https://github.com/c-ares/c-ares/issues/496
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALUQZXJCWJS2/
security.gentoo.org
https://security.gentoo.org/glsa/202401-02
More from C-ares
9.8
CVE-2016-5180
Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly…
7.5
CVE-2023-32067
c-ares is an asynchronous resolver library
7.5
CVE-2020-8277
A Node.js application that allows an attacker to trigger a DNS request for a host of their choice could trigger a Denial of Service in versions < 15.2.1, < 14.15.1, and < 12.19.1…
7.5
CVE-2017-1000381
The c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer if the passed in DNS…
6.5
CVE-2023-31147
c-ares is an asynchronous resolver library
