UBUNTU-CVE-2024-25629

Source
https://ubuntu.com/security/CVE-2024-25629
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25629.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-25629
Related
Published
2024-02-23T15:15:00Z
Modified
2024-02-23T15:15:00Z
Summary
[none]
Details

c-ares is a C library for asynchronous DNS requests. ares__read_line() is used to parse local configuration files such as /etc/resolv.conf, /etc/nsswitch.conf, the HOSTALIASES file, and if using a c-ares version prior to 1.27.0, the /etc/hosts file. If any of these configuration files has an embedded NULL character as the first character in a new line, it can lead to attempting to read memory prior to the start of the given buffer which may result in a crash. This issue is fixed in c-ares 1.27.0. No known workarounds exist.

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+esm3

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
1.10.0-3ubuntu0.2+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.10.0-3ubuntu0.2+esm3",
            "binary_name": "libc-ares-dev"
        },
        {
            "binary_version": "1.10.0-3ubuntu0.2+esm3",
            "binary_name": "libc-ares2"
        },
        {
            "binary_version": "1.10.0-3ubuntu0.2+esm3",
            "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+esm2

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
1.14.0-1ubuntu0.2+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.14.0-1ubuntu0.2+esm2",
            "binary_name": "libc-ares-dev"
        },
        {
            "binary_version": "1.14.0-1ubuntu0.2+esm2",
            "binary_name": "libc-ares2"
        },
        {
            "binary_version": "1.14.0-1ubuntu0.2+esm2",
            "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.5

Affected versions

1.*

1.15.0-1build1
1.15.0-1ubuntu0.1
1.15.0-1ubuntu0.2
1.15.0-1ubuntu0.3
1.15.0-1ubuntu0.4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.15.0-1ubuntu0.5",
            "binary_name": "libc-ares-dev"
        },
        {
            "binary_version": "1.15.0-1ubuntu0.5",
            "binary_name": "libc-ares2"
        },
        {
            "binary_version": "1.15.0-1ubuntu0.5",
            "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.3

Affected versions

1.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.18.1-1ubuntu0.22.04.3",
            "binary_name": "libc-ares-dev"
        },
        {
            "binary_version": "1.18.1-1ubuntu0.22.04.3",
            "binary_name": "libc-ares2"
        },
        {
            "binary_version": "1.18.1-1ubuntu0.22.04.3",
            "binary_name": "libc-ares2-dbgsym"
        }
    ]
}