cve.bz

CVE-2023-31130 Out-of-bounds Write

6.4 mediumEPSS 0.4%

Medium (6.4). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable to a buffer underflow for certain ipv6 addresses, in particular "0::00:00:00/2" was found to cause an issue. C-ares only uses this function internally for configuration purposes which would require an administrator to configure such an address via ares_set_sortlist(). However, users may externally use ares_inet_net_pton() for other purposes and thus be vulnerable to more severe issues. This issue has been fixed in 1.19.1.

Severity

CVSS 3.1

6.4 medium
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-01-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-124 Buffer Underwrite (Buffer Underrun)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-31130 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-31130?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-31130?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-31130 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
c-ares_project:c-aresbefore 1.19.1
fedoraproject:fedora37
fedoraproject:fedora38
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10c-ares1.14.0-1+deb10u3DLA-3471-1
Debian11c-ares1.17.1-1+deb11u3DSA-5419-1
Debian12, 13, 14c-ares1.18.1-3DEBIAN-CVE-2023-31130
Ubuntu20.04:LTSc-ares1.15.0-1ubuntu0.3UBUNTU-CVE-2023-31130 USN-6164-1
Ubuntu22.04:LTSc-ares1.18.1-1ubuntu0.22.04.2UBUNTU-CVE-2023-31130 USN-6164-1
UbuntuPro:16.04:LTSc-ares1.10.0-3ubuntu0.2+esm2UBUNTU-CVE-2023-31130 USN-6164-2
UbuntuPro:18.04:LTSc-ares1.14.0-1ubuntu0.2+esm1UBUNTU-CVE-2023-31130 USN-6164-2
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:16.19.1-2.module+el8.8.0+19038+6f60344fRHSA-2023:4034
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:18.14.2-3.module+el8.8.0+19021+4b8b11ccRHSA-2023:4035
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-2.module+el8.8.0+18432+27f188acRHSA-2023:4035
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-3.module+el8.8.0+19038+6f60344fRHSA-2023:4034
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:25-1.module+el8.5.0+10992+fac5fe06RHSA-2023:4034
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.7.0+15582+19c314faRHSA-2023:4035
Red Hatenterprise_linux:8::appstreamnpm1:8.19.3-1.16.19.1.2.module+el8.8.0+19038+6f60344fRHSA-2023:4034
Red Hatenterprise_linux:8::appstreamnpm1:9.5.0-1.18.14.2.3.module+el8.8.0+19021+4b8b11ccRHSA-2023:4035
Red Hatenterprise_linux:8::baseosc-ares, c-ares-devel, c-ares-debuginfo and 1 more0:1.13.0-9.el8_9.1RHSA-2023:7207
Red Hatenterprise_linux:9::appstreamc-ares-devel, c-ares-debuginfo, c-ares-debugsource0:1.19.1-1.el9RHSA-2023:6635
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:18.14.2-3.module+el9.2.0.z+18964+42696395RHSA-2023:3577
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 4 more1:16.19.1-2.el9_2RHSA-2023:3586
15 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 18 morec-ares1.19.1-150000.3.23.1SUSE-SU-2023:2313-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 3 morenodejs1616.20.1-150300.7.24.2SUSE-SU-2023:2861-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1616.20.1-8.30.1SUSE-SU-2023:2655-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1818.16.1-8.9.1SUSE-SU-2023:2662-1
SUSELinux Enterprise Module for Web and Scripting 15 SP4nodejs1616.20.1-150400.3.21.1SUSE-SU-2023:2663-1
SUSELinux Enterprise Module for Web and Scripting 15 SP4, Linux Enterprise Module for Web and Scripting 15 SP5nodejs1818.16.1-150400.9.9.1SUSE-SU-2023:2669-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS and 7 morelibcares21.9.1-9.12.1SUSE-SU-2023:2477-1
openSUSELeap 15.4nodejs1616.20.1-150400.3.21.1SUSE-SU-2023:2663-1
openSUSELeap 15.4, Leap 15.5nodejs1818.16.1-150400.9.9.1SUSE-SU-2023:2669-1
openSUSELeap 15.4, Leap 15.5, Leap Micro 5.3c-ares1.19.1-150000.3.23.1SUSE-SU-2023:2313-1
openSUSETumbleweedc-ares1.19.1-1.1openSUSE-SU-2024:12951-1
AlmaLinux8c-ares, c-ares-devel1.13.0-9.el8_9.1ALSA-2023:7207
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:16.19.1-2.module_el8.8.0+3586+d4fc0b72ALSA-2023:4034
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:18.14.2-3.module_el8.8.0+3587+ee652244ALSA-2023:4035
AlmaLinux8nodejs-nodemon2.0.20-2.module_el8.8.0+3587+ee652244ALSA-2023:4035
AlmaLinux8nodejs-nodemon2.0.20-3.module_el8.8.0+3586+d4fc0b72ALSA-2023:4034
AlmaLinux8nodejs-packaging25-1.module_el8.5.0+2605+45d748afALSA-2023:4034
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:4035
AlmaLinux8npm1:8.19.3-1.16.19.1.2.module_el8.8.0+3586+d4fc0b72ALSA-2023:4034
AlmaLinux8npm1:9.5.0-1.18.14.2.3.module_el8.8.0+3587+ee652244ALSA-2023:4035
AlmaLinux9c-ares, c-ares-devel1.19.1-1.el9ALSA-2023:6635
AlmaLinux9nodejs, nodejs-docs, nodejs-devel and 1 more1:18.14.2-3.module_el9.2.0+30+e3312493ALSA-2023:3577
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 1 more1:16.19.1-2.el9_2ALSA-2023:3586
4 more for AlmaLinux in the JSON.
Rocky Linux8c-ares0:1.13.0-9.el8_9.1RLSA-2023:7207
Rocky Linux8nodejs1:16.19.1-2.module+el8.8.0+1338+00a07a77RLSA-2023:4034
Rocky Linux8nodejs1:18.14.2-3.module+el8.8.0+1337+7ea46b57RLSA-2023:4035
Rocky Linux8nodejs-nodemon0:2.0.20-2.module+el8.7.0+1177+510ae886RLSA-2023:4035
Rocky Linux8nodejs-nodemon0:2.0.20-3.module+el8.7.0+1178+d52dba78RLSA-2023:4034
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.7.0+1072+5b168780RLSA-2023:4035
Rocky Linux8nodejs-packaging0:25-1.module+el8.7.0+1108+49363b0dRLSA-2023:4034
Rocky Linux9nodejs-nodemon0:2.0.20-2.module+el9.6.0+32048+5323bb50RLSA-2023:3577
Rocky Linux9nodejs-packaging0:2021.06-4.module+el9.5.0+31770+0da7192dRLSA-2023:3577
Rocky Linux9nodejs-packaging0:2021.06-4.module+el9.6.0+32045+2e5d342dRLSA-2023:3577
Rocky Linux9nodejs-packaging0:2021.06-4.module+el9.6.0+32048+5323bb50RLSA-2023:3577
Rocky Linux9nodejs-packaging0:2021.06-4.module+el9.6.0+32143+ae966e5bRLSA-2023:3577
3 more for Rocky Linux in the JSON.
Azure Linux2c-ares1.19.1-1AZL-26914
Azure Linux2fluent-bit2.1.10-1AZL-26917
Azure Linux2grpc1.42.0-11AZL-26922
Azure Linux2nodejs16.20.1-2AZL-26938
Azure Linux2nodejs1818.17.1-2AZL-26940
Azure Linux2python-gevent21.1.2-3AZL-26941
Azure Linux2python-pycaresno fix listedAZL-43693
Azure Linux3grpc1.62.0-2AZL-34781

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:16-8080020230608150024.63b34585Fixed 2023-07-12RHSA-2023:4034
Red Hat Enterprise Linux 8nodejs:18-8080020230607122508.63b34585Fixed 2023-07-12RHSA-2023:4035
Red Hat Enterprise Linux 8c-ares-0:1.13.0-9.el8_9.1Fixed 2023-11-14RHSA-2023:7207
Red Hat Enterprise Linux 8.6 Extended Update Supportnodejs:16-8060020230620060944.ad008a3aFixed 2023-07-12RHSA-2023:4033
Red Hat Enterprise Linux 8.6 Extended Update Supportc-ares-0:1.13.0-6.el8_6.2Fixed 2023-11-21RHSA-2023:7392
Red Hat Enterprise Linux 8.8 Extended Update Supportc-ares-0:1.13.0-6.el8_8.3Fixed 2023-11-28RHSA-2023:7543
Red Hat Enterprise Linux 9nodejs:18-9020020230531092345.rhel9Fixed 2023-06-14RHSA-2023:3577
Red Hat Enterprise Linux 9nodejs-1:16.19.1-2.el9_2Fixed 2023-06-14RHSA-2023:3586
Red Hat Enterprise Linux 9c-ares-0:1.19.1-1.el9Fixed 2023-11-07RHSA-2023:6635
Red Hat Enterprise Linux 9.0 Extended Update Supportnodejs-1:16.18.1-4.el9_0Fixed 2023-07-12RHSA-2023:4036
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.21.3-4.el7Fixed 2023-07-12RHSA-2023:4039
Red Hat Enterprise Linux 6c-aresOut of support scope
Red Hat Enterprise Linux 7c-aresOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-31130.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed
ICSA-24-046-15Siemens SINEC NMS2024-02-13MultipleSINEC NMSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON