CVE-2023-31130
Publication date 25 May 2023
Last updated 4 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| c-ares | ||
| 22.04 LTS jammy | 
                                Fixed 1.18.1-1ubuntu0.22.04.2 
                                
                               | |
| 20.04 LTS focal | 
                                Fixed 1.15.0-1ubuntu0.3 
                                
                               | |
| 18.04 LTS bionic | 
                                Fixed 1.14.0-1ubuntu0.2+esm1 
                                
                                   | |
| 16.04 LTS xenial | 
                                Fixed 1.10.0-3ubuntu0.2+esm2 
                                
                                   | |
| 14.04 LTS trusty | Ignored end of standard support | 
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Local | 
| Attack complexity | High | 
| Privileges required | High | 
| User interaction | None | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-6164-1
- c-ares vulnerabilities
- 14 June 2023
- USN-6164-2
- c-ares vulnerabilities
- 11 September 2023