VDB

CVE-2022-4904

CVE-2022-4904 PUBLISHED CVSS 9.300000190734863 CRITICAL

Reported by redhat · Published March 6, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
c-aresAmazon Linux1.19.0-1.amzn2023, 1.10.0-3.amzn2.0.4
c-aresconan.io1.19.0
c-ares-develAmazon Linux1.10.0-3.amzn2.0.4
v8-develAmazon Linux2:10.2.154.15-1.18.12.1.1.amzn2023.0.6
nodejs-full-i18nAmazon Linux1:18.12.1-1.amzn2023.0.6
npmAmazon Linux1:8.19.2-1.18.12.1.1.amzn2023.0.6
nodejs-docsAmazon Linux1:18.12.1-1.amzn2023.0.6
c-aresc-ares_project1.19.0

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
n/ac-aresunknown
amazon:2023c-ares0
ConanCenterc-ares0
amazon:2c-ares-devel0
amazon:2023v8-devel0
amazon:2023nodejs-full-i18n0
amazon:2023npm0
amazon:2c-ares0
amazon:2023nodejs-docs0
n/ac-ares*
amazon:2023nodejs-libs0
amazon:2023nodejs0
amazon:2023c-ares-devel0
amazon:2023nodejs-devel0

Timeline

  • Feb 23, 2023 CVE Published
  • Mar 7, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (8 in total, the first dated here)
  • May 23, 2026 Coalition ESS Score
  • Nov 21, 2026 Distribution Patch (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-4904
vulnetix vdb fixes CVE-2022-4904

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-4904/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›