CVE-2023-31130
No exploitation reported by the sources we read.
- Published2023-05-25
- WeaknessCWE-124 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2023-05-2522:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 37.x | = 37 | no fix published | NVD |
| 38.x | = 38 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.19 | < 1.19.1 | 1.19.1 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- c-aresAffected
- = < 1.19.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-06-10
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- c-aresWolfiall versions · fixed in 1.19.1-r0
- c-aresUbuntu:Pro:18.04:LTSall versions · fixed in 1.14.0-1ubuntu0.2+esm1
- c-aresUbuntu:Pro:16.04:LTSall versions · fixed in 1.10.0-3ubuntu0.2+esm2
- c-aresUbuntu:22.04:LTSall versions · fixed in 1.18.1-1ubuntu0.22.04.2
- c-aresUbuntu:20.04:LTSall versions · fixed in 1.15.0-1ubuntu0.3
- c-aresTuxCare:AlmaLinux:9.2all versions · fixed in 1.17.1-5.el9_2.1.tuxcare.els3and 1 other package
- c-aresSUSE:Manager Server 4.2all versions · fixed in 1.19.1-150000.3.23.1
- c-aresSUSE:Manager Proxy 4.2all versions · fixed in 1.19.1-150000.3.23.1
126 more package ranges on OSV.dev
Vendor advisories
c-ares: Buffer Underwrite in ares_inet_net_pton()
c-ares-devel as a component of Red Hat Enterprise Linux 6 · c-ares.src as a component of Red Hat Enterprise Linux 6 · c-ares as a component of Red Hat Enterprise Linux 7 · +2 more
Red Hat Security Advisory: c-ares security update
Red Hat Security Advisory: c-ares security update
Red Hat Security Advisory: c-ares security, bug fix, and enhancement update
Red Hat Security Advisory: nodejs:18 security update
Red Hat Security Advisory: nodejs:16 security update
5 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2023:7543 · 21 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Advisories and patches
- github.comRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- AZL-26914same flawAzure Linux · MIT
- AZL-26917same flawAzure Linux · MIT
- AZL-26922same flawAzure Linux · MIT
- AZL-26938same flawAzure Linux · MIT
- AZL-26940same flawAzure Linux · MIT
- AZL-26941same flawAzure Linux · MIT
- AZL-34781same flawAzure Linux · MIT
- AZL-43693same flawAzure Linux · MIT
- CGA-cf4f-r3jg-qjmgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rgp5-9x39-4p88same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2023-35454same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- ALSA-2023:3577advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:3586advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:4034advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:4035advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:6635advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:7207advisory covering several CVEsAlmaLinux · MIT
- DLA-3471-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5419-1advisory covering several CVEsDebian · LicenseRef-unstated
- OESA-2023-1357advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1358advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1359advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1360advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12951-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:3577advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:3586advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:4033advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:4034advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:4035advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:4036advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:4039advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:6635advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:7207advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:7392advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:7543advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2023:3577advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:4034advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:4035advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:7207advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2023:2313-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2477-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2655-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2662-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2663-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2669-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2861-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6164-1advisory covering several CVEsUbuntu
- USN-6164-2advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- Published
- 2023-05-25
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2023-31130?
Is CVE-2023-31130 actively exploited?
What is the CVSS score for CVE-2023-31130?
Running c-ares? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0