CVE-2022-4904

8.6 HIGH
Published: March 06, 2023 Modified: December 02, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2168631
Source: secalert@redhat.com
Issue Tracking Third Party Advisory
https://github.com/c-ares/c-ares/issues/496
Source: secalert@redhat.com
Exploit Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2168631
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Third Party Advisory
https://github.com/c-ares/c-ares/issues/496
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Issue Tracking
https://security.gentoo.org/glsa/202401-02
Source: af854a3a-2127-422b-91ae-364da2661108

8 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.6 / 10.0
EPSS (Exploit Probability)
0.1%
33th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

redhat fedoraproject c-ares_project