CVE-2022-4904
HIGH 8.6 ALL-YEARSA 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.
Severe if exploited (CVSS 8.6), but no confirmed exploitation. Patch on a normal cadence.
Exploitation likelihood
1.2%chance of exploitation in 30 days · 69th percentile
Impact if exploited
8.6CVSS 3.1 · HIGH · ADP
- ConfidentialityLow
- IntegrityLow
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Affected
Vendors C Ares Project Redhat Fedoraproject
Products C Ares Software Collections Enterprise Linux Fedora
Weakness (CWE)
- CWE-20: ->CWE-119
- CWE-1284: Improper Validation of Specified Quantity in Input
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References and research data (JSON)
Vendor product assessments
Showing 32 of 430 vendor product statements; 398 omitted. Read the full vendor advisory.
rh-nodejs14-0:3.6-2.el7.ppc64le as a component of Red Hat Software Collections for RHEL Workstation(v. 7) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]?arch=ppc64le
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
rh-nodejs14-npm-0:6.14.18-14.21.3.2.el7.ppc64le as a component of Red Hat Software Collections for RHEL Workstation(v. 7) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]?arch=ppc64le
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
rh-nodejs14-npm-0:6.14.18-14.21.3.2.el7.x86_64 as a component of Red Hat Software Collections for RHEL(v. 7) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]?arch=x86_64
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-devel-1:14.21.3-1.module+el8.4.0+18317+43f5ac16.s390x (nodejs:14) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.4) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]%2Bel8.4.0%2B18317%2B43f5ac16?arch=s390x&epoch=1&rpmmod=nodejs:14:8040020230306170312:522a0ee4
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-1:14.21.3-1.module+el8.6.0+18532+cbe6f646.s390x (nodejs:14) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]%2Bel8.6.0%2B18532%2Bcbe6f646?arch=s390x&epoch=1&rpmmod=nodejs:14:8060020230306170237:ad008a3a
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-full-i18n-1:14.21.3-1.module+el8.6.0+18532+cbe6f646.s390x (nodejs:14) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]%2Bel8.6.0%2B18532%2Bcbe6f646?arch=s390x&epoch=1&rpmmod=nodejs:14:8060020230306170237:ad008a3a
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-1:16.19.1-1.module+el8.7.0+18373+704f5cef.src (nodejs:16) as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]%2Bel8.7.0%2B18373%2B704f5cef?arch=src&epoch=1&rpmmod=nodejs:16:8070020230314140722:bd1311ed
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-debugsource-1:16.19.1-1.module+el8.7.0+18373+704f5cef.x86_64 (nodejs:16) as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]%2Bel8.7.0%2B18373%2B704f5cef?arch=x86_64&epoch=1&rpmmod=nodejs:16:8070020230314140722:bd1311ed
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-full-i18n-1:16.19.1-1.module+el8.7.0+18373+704f5cef.x86_64 (nodejs:16) as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]%2Bel8.7.0%2B18373%2B704f5cef?arch=x86_64&epoch=1&rpmmod=nodejs:16:8070020230314140722:bd1311ed
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-1:18.14.2-3.module+el8.8.0+19021+4b8b11cc.aarch64 (nodejs:18) as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]%2Bel8.8.0%2B19021%2B4b8b11cc?arch=aarch64&epoch=1&rpmmod=nodejs:18:8080020230607122508:63b34585
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-full-i18n-1:18.14.2-3.module+el8.8.0+19021+4b8b11cc.aarch64 (nodejs:18) as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]%2Bel8.8.0%2B19021%2B4b8b11cc?arch=aarch64&epoch=1&rpmmod=nodejs:18:8080020230607122508:63b34585
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
c-ares-debuginfo-0:1.17.1-5.el9_0.2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.0) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_0.2?arch=x86_64
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-debuginfo-1:16.20.2-1.el9_0.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.0) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_0?arch=ppc64le&epoch=1
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-libs-debuginfo-1:16.20.2-1.el9_0.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.0) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_0?arch=aarch64&epoch=1
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
c-ares-debugsource-0:1.17.1-5.el9_2.2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_2.2?arch=s390x
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-debuginfo-1:16.19.1-1.el9_2.i686 as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_2?arch=i686&epoch=1
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-devel-1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64 (nodejs:18) as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]%2Bel9.2.0.z%2B18497%2Ba402347c?arch=aarch64&epoch=1&rpmmod=nodejs:18:9020020230327152102:rhel9
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
nodejs-libs-1:16.19.1-1.el9_2.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_2?arch=x86_64&epoch=1
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
npm-1:9.5.0-1.18.14.2.2.module+el9.2.0.z+18497+a402347c.s390x (nodejs:18) as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]%2Bel9.2.0.z%2B18497%2Ba402347c?arch=s390x&epoch=1&rpmmod=nodejs:18:9020020230327152102:rhel9
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
c-ares-0:1.13.0-6.el8_8.3.i686 as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.8) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_8.3?arch=i686
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
c-ares-devel-0:1.13.0-6.el8_8.3.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.8.8) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_8.3?arch=s390x
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
c-ares-debugsource-0:1.13.0-8.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]?arch=x86_64
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
c-ares-debugsource-0:1.17.1-5.el9_0.2.i686 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.0) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_0.2?arch=i686
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
c-ares-debugsource-0:1.17.1-5.el9_2.2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]_2.2?arch=ppc64le
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
c-ares-debugsource-0:1.19.1-1.el9.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 9) · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]?arch=x86_64
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
c-ares-devel as a component of Red Hat Enterprise Linux 6 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/c-ares-devel
- no fix planned: Out of support scope
c-ares.src as a component of Red Hat Enterprise Linux 6 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/c-ares?arch=src
- no fix planned: Out of support scope
c-ares as a component of Red Hat Enterprise Linux 7 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/c-ares
- no fix planned: Will not fix
c-ares-devel as a component of Red Hat Enterprise Linux 7 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/c-ares-devel
- no fix planned: Will not fix
c-ares.src as a component of Red Hat Enterprise Linux 7 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/c-ares?arch=src
- no fix planned: Will not fix
nodejs-nodemon-0:2.0.20-3.el9_2.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9) · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/[email protected]_2?arch=noarch
Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00nodejs-nodemon-0:2.0.20-3.el9_2.src as a component of Red Hat Enterprise Linux AppStream (v. 9) · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/[email protected]_2?arch=src
Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| C Ares Project | C Ares | < 1.19.0 |
| Redhat | Software Collections | * |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
| Fedoraproject | Fedora | 36 |
All CVSS metrics
- HIGH 8.6 v3.1 · ADP Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H - HIGH 8.6 v3.1 · NVD Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References
Exploit-tagged references (not proof of a PoC)
- https://github.com/c-ares/c-ares/issues/496 CVE record · redhat · Updated 2024-01-05T10:06:27.302Z
CVE record · CVE · Updated 2024-08-03T01:55:45.918Z
NVD · CVE-2022-4904 · Updated 2026-06-17T05:22:15.580
Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
Advisories
- https://bugzilla.redhat.com/show_bug.cgi?id=2168631 CVE record · redhat · Updated 2024-01-05T10:06:27.302Z
CVE record · CVE · Updated 2024-08-03T01:55:45.918Z
NVD · CVE-2022-4904 · Updated 2026-06-17T05:22:15.580
Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00 - https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALUQZXJCWJS2/ CVE record · redhat · Updated 2024-01-05T10:06:27.302Z
CVE record · CVE · Updated 2024-08-03T01:55:45.918Z
NVD · CVE-2022-4904 · Updated 2026-06-17T05:22:15.580 - https://security.gentoo.org/glsa/202401-02 CVE record · redhat · Updated 2024-01-05T10:06:27.302Z
CVE record · CVE · Updated 2024-08-03T01:55:45.918Z
NVD · CVE-2022-4904 · Updated 2026-06-17T05:22:15.580 - https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-4904.json Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-52159 EUVD · EUVD-2022-52159
Technical & other
- https://access.redhat.com/security/cve/CVE-2022-4904 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://www.cve.org/CVERecord?id=CVE-2022-4904 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-4904 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:1744 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:1533 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:1742 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:1582 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:4035 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:6291 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:5533 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:7368 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:2655 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:2654 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:7543 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:7116 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:6635 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
- https://access.redhat.com/errata/RHSA-2023:1743 Red Hat · CVE-2022-4904 · Updated 2026-06-28T06:28:42+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS