Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

CVE-2023-31130: Buffer Underwrite in ares_inet_net_pton()

MediumCVSS 6.4 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 25/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.38% (FIRST EPSS).
  • Someone with local access to the system can trigger it. Administrator privileges are required. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: c-ares c-ares 1.19.1; azl3 grpc 1.42.0-7 on Azure Linux 3.0 1.62.0-2; azl3 grpc 1.62.0-2 on Azure Linux 3.0 1.62.0-2.
  • Severity is disputed: the assigning authority (CNA) scores it 4.1, NVD 6.4.

Low priority for now. Upgrade to c-ares c-ares 1.19.1; azl3 grpc 1.42.0-7 on Azure Linux 3.0 1.62.0-2; azl3 grpc 1.62.0-2 on Azure Linux 3.0 1.62.0-2 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
May 25, 2023
Updated
Jun 17, 2026
EPSS
0.3% · 33th percentile

Report tools

JSON

Action score

25

Monitor

Low priority for now.

CVSS
25 / 40 · 6.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
6.4
CNA · GitHub_M
4.1
2.3 point gap

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2023-31130

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
c-ares projectc-ares
fedoraprojectfedora
debiandebian linux

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • c-ares c-ares

    • < 1.19.1affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8c-aresbefore 1.13.0-9.el8_9.11.13.0-9.el8_9.1
AlmaLinux:8c-ares-develbefore 1.13.0-9.el8_9.11.13.0-9.el8_9.1
AlmaLinux:8nodejsbefore 1:18.14.2-3.module_el8.8.0+3587+ee6522441:18.14.2-3.module_el8.8.0+3587+ee652244
AlmaLinux:8nodejsbefore 1:16.19.1-2.module_el8.8.0+3586+d4fc0b721:16.19.1-2.module_el8.8.0+3586+d4fc0b72
AlmaLinux:8nodejs-develbefore 1:18.14.2-3.module_el8.8.0+3587+ee6522441:18.14.2-3.module_el8.8.0+3587+ee652244
AlmaLinux:8nodejs-develbefore 1:16.19.1-2.module_el8.8.0+3586+d4fc0b721:16.19.1-2.module_el8.8.0+3586+d4fc0b72
AlmaLinux:8nodejs-docsbefore 1:16.19.1-2.module_el8.8.0+3586+d4fc0b721:16.19.1-2.module_el8.8.0+3586+d4fc0b72
AlmaLinux:8nodejs-docsbefore 1:18.14.2-3.module_el8.8.0+3587+ee6522441:18.14.2-3.module_el8.8.0+3587+ee652244
AlmaLinux:8nodejs-full-i18nbefore 1:18.14.2-3.module_el8.8.0+3587+ee6522441:18.14.2-3.module_el8.8.0+3587+ee652244
AlmaLinux:8nodejs-full-i18nbefore 1:16.19.1-2.module_el8.8.0+3586+d4fc0b721:16.19.1-2.module_el8.8.0+3586+d4fc0b72
AlmaLinux:8nodejs-nodemonbefore 2.0.20-3.module_el8.8.0+3586+d4fc0b722.0.20-3.module_el8.8.0+3586+d4fc0b72
AlmaLinux:8nodejs-nodemonbefore 2.0.20-2.module_el8.8.0+3587+ee6522442.0.20-2.module_el8.8.0+3587+ee652244
AlmaLinux:8nodejs-packagingbefore 2021.06-4.module_el8.7.0+3343+ea2b79012021.06-4.module_el8.7.0+3343+ea2b7901
AlmaLinux:8nodejs-packagingbefore 25-1.module_el8.5.0+2605+45d748af25-1.module_el8.5.0+2605+45d748af
AlmaLinux:8nodejs-packaging-bundlerbefore 2021.06-4.module_el8.7.0+3343+ea2b79012021.06-4.module_el8.7.0+3343+ea2b7901
AlmaLinux:8npmbefore 1:8.19.3-1.16.19.1.2.module_el8.8.0+3586+d4fc0b721:8.19.3-1.16.19.1.2.module_el8.8.0+3586+d4fc0b72
AlmaLinux:8npmbefore 1:9.5.0-1.18.14.2.3.module_el8.8.0+3587+ee6522441:9.5.0-1.18.14.2.3.module_el8.8.0+3587+ee652244
AlmaLinux:9c-aresbefore 1.19.1-1.el91.19.1-1.el9
AlmaLinux:9c-ares-develbefore 1.19.1-1.el91.19.1-1.el9
AlmaLinux:9nodejsbefore 1:16.19.1-2.el9_21:16.19.1-2.el9_2
AlmaLinux:9nodejsbefore 1:18.14.2-3.module_el9.2.0+30+e33124931:18.14.2-3.module_el9.2.0+30+e3312493
AlmaLinux:9nodejs-develbefore 1:18.14.2-3.module_el9.2.0+30+e33124931:18.14.2-3.module_el9.2.0+30+e3312493
AlmaLinux:9nodejs-docsbefore 1:16.19.1-2.el9_21:16.19.1-2.el9_2
AlmaLinux:9nodejs-docsbefore 1:18.14.2-3.module_el9.2.0+30+e33124931:18.14.2-3.module_el9.2.0+30+e3312493

+96

Other highest-scoring records for the same primary product.

Published before and after this one in the same product

  • ← EarlierCVE-2021-3672Nov 23, 2021 · A flaw was found in c-ares library, where a missing input validation check of host names returned by DNS (Domain Name Servers) can lead to…
    23Monitor
  • ← EarlierCVE-2023-31124May 25, 2023 · AutoTools does not set CARES_RANDOM_FILE during cross compilation
    14Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
c-ares c-ares1.19.1 · descriptionVendor (CNA)
azl3 grpc 1.42.0-7 on Azure Linux 3.01.62.0-2 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 grpc 1.62.0-2 on Azure Linux 3.01.62.0-2 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 c-ares 1.19.1-1 on CBL Mariner 2.01.19.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 fluent-bit 2.1.10-1 on CBL Mariner 2.02.1.10-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 grpc 1.42.0-11 on CBL Mariner 2.01.42.0-11 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 nodejs 16.20.1-2 on CBL Mariner 2.016.20.1-2 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 nodejs18 18.17.1-2 on CBL Mariner 2.018.17.1-2 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 python-gevent 21.1.2-3 on CBL Mariner 2.021.1.2-3 · CBL-Mariner ReleasesMicrosoft (MSRC)
cm1 c-ares 1.19.1-1 on CBL Mariner 1.01.19.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
almalinux:c-ares1.19.1-1.el9 · AlmaLinux:9Package registry (OSV)
almalinux:c-ares-devel1.19.1-1.el9 · AlmaLinux:9Package registry (OSV)
almalinux:nodejs1:18.14.2-3.module_el9.2.0+30+e3312493 · AlmaLinux:9Package registry (OSV)
almalinux:nodejs-devel1:18.14.2-3.module_el9.2.0+30+e3312493 · AlmaLinux:9Package registry (OSV)
almalinux:nodejs-docs1:18.14.2-3.module_el9.2.0+30+e3312493 · AlmaLinux:9Package registry (OSV)
almalinux:nodejs-full-i18n1:18.14.2-3.module_el9.2.0+30+e3312493 · AlmaLinux:9Package registry (OSV)
almalinux:nodejs-libs1:16.19.1-2.el9_2 · AlmaLinux:9Package registry (OSV)
almalinux:nodejs-nodemon2.0.20-2.module_el9.2.0+29+de583a0b · AlmaLinux:9Package registry (OSV)
almalinux:nodejs-packaging2021.06-4.module_el9.1.0+13+d9a595ea · AlmaLinux:9Package registry (OSV)
almalinux:nodejs-packaging-bundler2021.06-4.module_el9.1.0+13+d9a595ea · AlmaLinux:9Package registry (OSV)
almalinux:npm1:9.5.0-1.18.14.2.3.module_el9.2.0+30+e3312493 · AlmaLinux:9Package registry (OSV)
debian:c-ares1.18.1-3 · Debian:12Package registry (OSV)
opensuse:c-ares1.19.1-150000.3.23.1 · openSUSE:Leap Micro 5.3Package registry (OSV)
opensuse:nodejs1616.20.1-150400.3.21.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:nodejs1818.16.1-150400.9.9.1 · openSUSE:Leap 15.4Package registry (OSV)
red hat:nodejs1:18.14.2-3.module+el9.2.0.z+18964+42696395 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:nodejs-debuginfo1:18.14.2-3.module+el9.2.0.z+18964+42696395 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:nodejs-debugsource1:18.14.2-3.module+el9.2.0.z+18964+42696395 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:nodejs-devel1:18.14.2-3.module+el9.2.0.z+18964+42696395 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:nodejs-docs1:18.14.2-3.module+el9.2.0.z+18964+42696395 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)

+17

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • Administrator privileges are required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

References

All records