UBUNTU-CVE-2023-31130

Source
https://ubuntu.com/security/CVE-2023-31130
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31130.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-31130
Upstream
Downstream
Related
Published
2023-05-25T22:15:00Z
Modified
2026-04-22T14:06:33Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 4.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / c-ares

Package

Name
c-ares
Purl
pkg:deb/ubuntu/c-ares@1.10.0-3ubuntu0.2+esm2?arch=source&distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.10.0-3ubuntu0.2+esm2

Affected versions

1.*
1.10.0-2
1.10.0-3
1.10.0-3ubuntu0.1
1.10.0-3ubuntu0.2
1.10.0-3ubuntu0.2+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "libc-ares2",
            "binary_version": "1.10.0-3ubuntu0.2+esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31130.json"

Ubuntu:Pro:18.04:LTS / c-ares

Package

Name
c-ares
Purl
pkg:deb/ubuntu/c-ares@1.14.0-1ubuntu0.2+esm1?arch=source&distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.14.0-1ubuntu0.2+esm1

Affected versions

1.*
1.13.0-2
1.13.0-3
1.14.0-1
1.14.0-1ubuntu0.1
1.14.0-1ubuntu0.2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "libc-ares2",
            "binary_version": "1.14.0-1ubuntu0.2+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31130.json"

Ubuntu:20.04:LTS / c-ares

Package

Name
c-ares
Purl
pkg:deb/ubuntu/c-ares@1.15.0-1ubuntu0.3?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.15.0-1ubuntu0.3

Affected versions

1.*
1.15.0-1build1
1.15.0-1ubuntu0.1
1.15.0-1ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libc-ares2",
            "binary_version": "1.15.0-1ubuntu0.3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31130.json"

Ubuntu:22.04:LTS / c-ares

Package

Name
c-ares
Purl
pkg:deb/ubuntu/c-ares@1.18.1-1ubuntu0.22.04.2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.18.1-1ubuntu0.22.04.2

Affected versions

1.*
1.17.1-1ubuntu1
1.18.1-1
1.18.1-1build1
1.18.1-1ubuntu0.22.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libc-ares2",
            "binary_version": "1.18.1-1ubuntu0.22.04.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31130.json"