CVE-2023-31130

Publication date 25 May 2023

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

6.4 · Medium

Score breakdown

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 23.10 mantic
Not affected
23.04 lunar
Fixed 1.18.1-2ubuntu0.1
22.10 kinetic
Fixed 1.18.1-1ubuntu0.22.10.2
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
16.04 LTS xenial
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

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
c-ares

Severity score breakdown

Parameter Value
Base score 6.4 · Medium
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-2
    • c-ares vulnerabilities
    • 11 September 2023

Other references