UBUNTU-CVE-2023-42116

Source
https://ubuntu.com/security/CVE-2023-42116
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-42116.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-42116
Related
Published
2023-09-28T00:00:00Z
Modified
2023-09-28T00:00:00Z
Summary
[none]
Details

Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of NTLM challenge requests. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-17515.

References

Affected packages

Ubuntu:Pro:14.04:LTS / exim4

Package

Name
exim4
Purl
pkg:deb/ubuntu/exim4?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.82-3ubuntu2.4+esm6

Affected versions

4.*

4.80-7ubuntu3
4.80-7ubuntu4
4.80-9ubuntu1
4.80-9ubuntu2
4.82-3ubuntu1
4.82-3ubuntu2
4.82-3ubuntu2.1
4.82-3ubuntu2.2
4.82-3ubuntu2.3
4.82-3ubuntu2.4
4.82-3ubuntu2.4+esm1
4.82-3ubuntu2.4+esm2
4.82-3ubuntu2.4+esm3
4.82-3ubuntu2.4+esm4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-base"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-base-dbgsym"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-config"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-daemon-heavy"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-daemon-heavy-dbg"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-daemon-heavy-dbgsym"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-daemon-light"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-daemon-light-dbg"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-daemon-light-dbgsym"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-dbg"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "exim4-dev"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "eximon4"
        },
        {
            "binary_version": "4.82-3ubuntu2.4+esm6",
            "binary_name": "eximon4-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / exim4

Package

Name
exim4
Purl
pkg:deb/ubuntu/exim4?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.86.2-2ubuntu2.6+esm4

Affected versions

4.*

4.86-3ubuntu1
4.86-7ubuntu1
4.86-7ubuntu2
4.86-7ubuntu3
4.86.2-2ubuntu1
4.86.2-2ubuntu2
4.86.2-2ubuntu2.1
4.86.2-2ubuntu2.2
4.86.2-2ubuntu2.3
4.86.2-2ubuntu2.4
4.86.2-2ubuntu2.5
4.86.2-2ubuntu2.6
4.86.2-2ubuntu2.6+esm1
4.86.2-2ubuntu2.6+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-base"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-base-dbgsym"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-config"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-daemon-heavy"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-daemon-heavy-dbg"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-daemon-heavy-dbgsym"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-daemon-light"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-daemon-light-dbg"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-daemon-light-dbgsym"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-dbg"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "exim4-dev"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "eximon4"
        },
        {
            "binary_version": "4.86.2-2ubuntu2.6+esm4",
            "binary_name": "eximon4-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / exim4

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.90.1-1ubuntu1.10+esm1

Affected versions

4.*

4.89-5ubuntu1
4.89-9ubuntu1
4.89-9ubuntu2
4.89-9ubuntu3
4.89-9ubuntu4
4.90.1-1ubuntu1
4.90.1-1ubuntu1.1
4.90.1-1ubuntu1.2
4.90.1-1ubuntu1.3
4.90.1-1ubuntu1.4
4.90.1-1ubuntu1.5
4.90.1-1ubuntu1.8
4.90.1-1ubuntu1.9
4.90.1-1ubuntu1.10

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "exim4"
        },
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "exim4-base"
        },
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "exim4-base-dbgsym"
        },
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "exim4-config"
        },
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "exim4-daemon-heavy"
        },
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "exim4-daemon-heavy-dbgsym"
        },
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "exim4-daemon-light"
        },
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "exim4-daemon-light-dbgsym"
        },
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "exim4-dev"
        },
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "eximon4"
        },
        {
            "binary_version": "4.90.1-1ubuntu1.10+esm1",
            "binary_name": "eximon4-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / exim4

Package

Name
exim4
Purl
pkg:deb/ubuntu/exim4?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.93-13ubuntu1.8

Affected versions

4.*

4.92.1-1ubuntu3
4.92.1-1ubuntu4
4.93~RC2-1ubuntu1
4.93-9ubuntu1
4.93-11ubuntu1
4.93-12ubuntu1
4.93-13ubuntu1
4.93-13ubuntu1.1
4.93-13ubuntu1.5
4.93-13ubuntu1.6
4.93-13ubuntu1.7

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "exim4"
        },
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "exim4-base"
        },
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "exim4-base-dbgsym"
        },
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "exim4-config"
        },
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "exim4-daemon-heavy"
        },
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "exim4-daemon-heavy-dbgsym"
        },
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "exim4-daemon-light"
        },
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "exim4-daemon-light-dbgsym"
        },
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "exim4-dev"
        },
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "eximon4"
        },
        {
            "binary_version": "4.93-13ubuntu1.8",
            "binary_name": "eximon4-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / exim4

Package

Name
exim4
Purl
pkg:deb/ubuntu/exim4?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.95-4ubuntu2.3

Affected versions

4.*

4.94.2-7ubuntu2
4.95-2ubuntu2
4.95-4ubuntu1
4.95-4ubuntu2
4.95-4ubuntu2.1
4.95-4ubuntu2.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "exim4"
        },
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "exim4-base"
        },
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "exim4-base-dbgsym"
        },
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "exim4-config"
        },
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "exim4-daemon-heavy"
        },
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "exim4-daemon-heavy-dbgsym"
        },
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "exim4-daemon-light"
        },
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "exim4-daemon-light-dbgsym"
        },
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "exim4-dev"
        },
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "eximon4"
        },
        {
            "binary_version": "4.95-4ubuntu2.3",
            "binary_name": "eximon4-dbgsym"
        }
    ]
}