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
Related
Published
2023-05-25T22:15:00Z
Modified
2024-11-20T12:19:29Z
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
Summary
[none]
Details

c-ares is an asynchronous resolver library. aresinetnetpton() 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 aressetsortlist(). However, users may externally use aresinetnetpton() 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?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.10.0-3ubuntu0.2+esm2",
            "binary_name": "libc-ares-dev"
        },
        {
            "binary_version": "1.10.0-3ubuntu0.2+esm2",
            "binary_name": "libc-ares2"
        },
        {
            "binary_version": "1.10.0-3ubuntu0.2+esm2",
            "binary_name": "libc-ares2-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / c-ares

Package

Name
c-ares
Purl
pkg:deb/ubuntu/c-ares?arch=src?distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.14.0-1ubuntu0.2+esm1",
            "binary_name": "libc-ares-dev"
        },
        {
            "binary_version": "1.14.0-1ubuntu0.2+esm1",
            "binary_name": "libc-ares2"
        },
        {
            "binary_version": "1.14.0-1ubuntu0.2+esm1",
            "binary_name": "libc-ares2-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / c-ares

Package

Name
c-ares
Purl
pkg:deb/ubuntu/c-ares?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.15.0-1ubuntu0.3",
            "binary_name": "libc-ares-dev"
        },
        {
            "binary_version": "1.15.0-1ubuntu0.3",
            "binary_name": "libc-ares2"
        },
        {
            "binary_version": "1.15.0-1ubuntu0.3",
            "binary_name": "libc-ares2-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / c-ares

Package

Name
c-ares
Purl
pkg:deb/ubuntu/c-ares?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.18.1-1ubuntu0.22.04.2",
            "binary_name": "libc-ares-dev"
        },
        {
            "binary_version": "1.18.1-1ubuntu0.22.04.2",
            "binary_name": "libc-ares2"
        },
        {
            "binary_version": "1.18.1-1ubuntu0.22.04.2",
            "binary_name": "libc-ares2-dbgsym"
        }
    ]
}