UBUNTU-CVE-2023-3138

Source
https://ubuntu.com/security/CVE-2023-3138
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3138.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2023-3138
Related
Published
2023-06-15T00:00:00Z
Modified
2024-11-20T12:26:53Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A vulnerability was found in libX11. The security flaw occurs because the functions in src/InitExt.c in libX11 do not check that the values provided for the Request, Event, or Error IDs are within the bounds of the arrays that those functions write to, using those IDs as array indexes. They trust that they were called with values provided by an Xserver adhering to the bounds specified in the X11 protocol, as all X servers provided by X.Org do. As the protocol only specifies a single byte for these values, an out-of-bounds value provided by a malicious server (or a malicious proxy-in-the-middle) can only overwrite other portions of the Display structure and not write outside the bounds of the Display structure itself, possibly causing the client to crash with this memory corruption.

References

Affected packages

Ubuntu:Pro:14.04:LTS / libx11

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:1.6.2-1ubuntu2.1+esm3

Affected versions

2:1.*

2:1.6.1-1ubuntu1
2:1.6.1-1ubuntu2
2:1.6.2-1ubuntu1
2:1.6.2-1ubuntu2
2:1.6.2-1ubuntu2.1
2:1.6.2-1ubuntu2.1+esm1
2:1.6.2-1ubuntu2.1+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-6"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-6-dbg"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-6-dbgsym"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-6-udeb"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-6-udeb-dbgsym"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-data"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-dev"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-dev-dbgsym"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-doc"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-xcb-dev"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-xcb-dev-dbgsym"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-xcb1"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-xcb1-dbg"
        },
        {
            "binary_version": "2:1.6.2-1ubuntu2.1+esm3",
            "binary_name": "libx11-xcb1-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / libx11

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:1.6.3-1ubuntu2.2+esm2

Affected versions

2:1.*

2:1.6.3-1ubuntu2
2:1.6.3-1ubuntu2.1
2:1.6.3-1ubuntu2.2
2:1.6.3-1ubuntu2.2+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-6"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-6-dbg"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-6-dbgsym"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-6-udeb"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-6-udeb-dbgsym"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-data"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-dev"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-dev-dbgsym"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-doc"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-xcb-dev"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-xcb-dev-dbgsym"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-xcb1"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-xcb1-dbg"
        },
        {
            "binary_version": "2:1.6.3-1ubuntu2.2+esm2",
            "binary_name": "libx11-xcb1-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / libx11

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:1.6.4-3ubuntu0.4+esm1

Affected versions

2:1.*

2:1.6.4-3
2:1.6.4-3ubuntu0.1
2:1.6.4-3ubuntu0.2
2:1.6.4-3ubuntu0.3
2:1.6.4-3ubuntu0.4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2:1.6.4-3ubuntu0.4+esm1",
            "binary_name": "libx11-6"
        },
        {
            "binary_version": "2:1.6.4-3ubuntu0.4+esm1",
            "binary_name": "libx11-6-dbgsym"
        },
        {
            "binary_version": "2:1.6.4-3ubuntu0.4+esm1",
            "binary_name": "libx11-6-udeb"
        },
        {
            "binary_version": "2:1.6.4-3ubuntu0.4+esm1",
            "binary_name": "libx11-data"
        },
        {
            "binary_version": "2:1.6.4-3ubuntu0.4+esm1",
            "binary_name": "libx11-dev"
        },
        {
            "binary_version": "2:1.6.4-3ubuntu0.4+esm1",
            "binary_name": "libx11-doc"
        },
        {
            "binary_version": "2:1.6.4-3ubuntu0.4+esm1",
            "binary_name": "libx11-xcb-dev"
        },
        {
            "binary_version": "2:1.6.4-3ubuntu0.4+esm1",
            "binary_name": "libx11-xcb1"
        },
        {
            "binary_version": "2:1.6.4-3ubuntu0.4+esm1",
            "binary_name": "libx11-xcb1-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / libx11

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:1.6.9-2ubuntu1.5

Affected versions

2:1.*

2:1.6.8-1
2:1.6.9-2
2:1.6.9-2ubuntu1
2:1.6.9-2ubuntu1.1
2:1.6.9-2ubuntu1.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2:1.6.9-2ubuntu1.5",
            "binary_name": "libx11-6"
        },
        {
            "binary_version": "2:1.6.9-2ubuntu1.5",
            "binary_name": "libx11-6-dbgsym"
        },
        {
            "binary_version": "2:1.6.9-2ubuntu1.5",
            "binary_name": "libx11-6-udeb"
        },
        {
            "binary_version": "2:1.6.9-2ubuntu1.5",
            "binary_name": "libx11-data"
        },
        {
            "binary_version": "2:1.6.9-2ubuntu1.5",
            "binary_name": "libx11-dev"
        },
        {
            "binary_version": "2:1.6.9-2ubuntu1.5",
            "binary_name": "libx11-doc"
        },
        {
            "binary_version": "2:1.6.9-2ubuntu1.5",
            "binary_name": "libx11-xcb-dev"
        },
        {
            "binary_version": "2:1.6.9-2ubuntu1.5",
            "binary_name": "libx11-xcb1"
        },
        {
            "binary_version": "2:1.6.9-2ubuntu1.5",
            "binary_name": "libx11-xcb1-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / libx11

Package

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

Affected ranges

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

Affected versions

2:1.*

2:1.7.2-1
2:1.7.2-2
2:1.7.2-2build1
2:1.7.5-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2:1.7.5-1ubuntu0.2",
            "binary_name": "libx11-6"
        },
        {
            "binary_version": "2:1.7.5-1ubuntu0.2",
            "binary_name": "libx11-6-dbgsym"
        },
        {
            "binary_version": "2:1.7.5-1ubuntu0.2",
            "binary_name": "libx11-data"
        },
        {
            "binary_version": "2:1.7.5-1ubuntu0.2",
            "binary_name": "libx11-dev"
        },
        {
            "binary_version": "2:1.7.5-1ubuntu0.2",
            "binary_name": "libx11-doc"
        },
        {
            "binary_version": "2:1.7.5-1ubuntu0.2",
            "binary_name": "libx11-xcb-dev"
        },
        {
            "binary_version": "2:1.7.5-1ubuntu0.2",
            "binary_name": "libx11-xcb1"
        },
        {
            "binary_version": "2:1.7.5-1ubuntu0.2",
            "binary_name": "libx11-xcb1-dbgsym"
        }
    ]
}