OESA-2024-1416

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-1416
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-1416.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2024-1416
Upstream
Published
2024-04-12T11:07:40Z
Modified
2025-08-12T05:43:26.599292Z
Summary
xorg-x11-server security update
Details

X.Org X11 X server

Security Fix(es):

A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIGetSelectedEvents() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads.(CVE-2024-31080)

A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIPassiveGrabDevice() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads.(CVE-2024-31081)

A heap-based buffer over-read vulnerability was found in the X.org server's ProcAppleDRICreatePixmap() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads.(CVE-2024-31082)

A use-after-free vulnerability was found in the ProcRenderAddGlyphs() function of Xorg servers. This issue occurs when AllocateGlyph() is called to store new glyphs sent by the client to the X server, potentially resulting in multiple entries pointing to the same non-refcounted glyphs. Consequently, ProcRenderAddGlyphs() may free a glyph, leading to a use-after-free scenario when the same glyph pointer is subsequently accessed. This flaw allows an authenticated attacker to execute arbitrary code on the system by sending a specially crafted request.(CVE-2024-31083)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / xorg-x11-server

Package

Name
xorg-x11-server
Purl
pkg:rpm/openEuler/xorg-x11-server&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.8-24.oe1

Ecosystem specific

{
    "aarch64": [
        "xorg-x11-server-debuginfo-1.20.8-24.oe1.aarch64.rpm",
        "xorg-x11-server-debugsource-1.20.8-24.oe1.aarch64.rpm",
        "xorg-x11-server-Xephyr-1.20.8-24.oe1.aarch64.rpm",
        "xorg-x11-server-devel-1.20.8-24.oe1.aarch64.rpm",
        "xorg-x11-server-1.20.8-24.oe1.aarch64.rpm"
    ],
    "noarch": [
        "xorg-x11-server-help-1.20.8-24.oe1.noarch.rpm"
    ],
    "x86_64": [
        "xorg-x11-server-debugsource-1.20.8-24.oe1.x86_64.rpm",
        "xorg-x11-server-debuginfo-1.20.8-24.oe1.x86_64.rpm",
        "xorg-x11-server-1.20.8-24.oe1.x86_64.rpm",
        "xorg-x11-server-Xephyr-1.20.8-24.oe1.x86_64.rpm",
        "xorg-x11-server-devel-1.20.8-24.oe1.x86_64.rpm"
    ],
    "src": [
        "xorg-x11-server-1.20.8-24.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP4 / xorg-x11-server

Package

Name
xorg-x11-server
Purl
pkg:rpm/openEuler/xorg-x11-server&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.8-26.oe2003sp4

Ecosystem specific

{
    "aarch64": [
        "xorg-x11-server-Xephyr-1.20.8-26.oe2003sp4.aarch64.rpm",
        "xorg-x11-server-debuginfo-1.20.8-26.oe2003sp4.aarch64.rpm",
        "xorg-x11-server-debugsource-1.20.8-26.oe2003sp4.aarch64.rpm",
        "xorg-x11-server-devel-1.20.8-26.oe2003sp4.aarch64.rpm",
        "xorg-x11-server-1.20.8-26.oe2003sp4.aarch64.rpm"
    ],
    "noarch": [
        "xorg-x11-server-help-1.20.8-26.oe2003sp4.noarch.rpm"
    ],
    "x86_64": [
        "xorg-x11-server-debuginfo-1.20.8-26.oe2003sp4.x86_64.rpm",
        "xorg-x11-server-devel-1.20.8-26.oe2003sp4.x86_64.rpm",
        "xorg-x11-server-1.20.8-26.oe2003sp4.x86_64.rpm",
        "xorg-x11-server-Xephyr-1.20.8-26.oe2003sp4.x86_64.rpm",
        "xorg-x11-server-debugsource-1.20.8-26.oe2003sp4.x86_64.rpm"
    ],
    "src": [
        "xorg-x11-server-1.20.8-26.oe2003sp4.src.rpm"
    ]
}

openEuler:22.03-LTS / xorg-x11-server

Package

Name
xorg-x11-server
Purl
pkg:rpm/openEuler/xorg-x11-server&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.11-29.oe2203sp3

Ecosystem specific

{
    "aarch64": [
        "xorg-x11-server-Xnest-1.20.11-28.oe2203.aarch64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-28.oe2203.aarch64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-28.oe2203.aarch64.rpm",
        "xorg-x11-server-devel-1.20.11-28.oe2203.aarch64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-28.oe2203.aarch64.rpm",
        "xorg-x11-server-debugsource-1.20.11-28.oe2203.aarch64.rpm",
        "xorg-x11-server-1.20.11-28.oe2203.aarch64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-28.oe2203.aarch64.rpm",
        "xorg-x11-server-common-1.20.11-28.oe2203.aarch64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp3.aarch64.rpm"
    ],
    "noarch": [
        "xorg-x11-server-help-1.20.11-28.oe2203.noarch.rpm",
        "xorg-x11-server-source-1.20.11-28.oe2203.noarch.rpm",
        "xorg-x11-server-source-1.20.11-29.oe2203sp1.noarch.rpm",
        "xorg-x11-server-help-1.20.11-29.oe2203sp1.noarch.rpm",
        "xorg-x11-server-help-1.20.11-29.oe2203sp2.noarch.rpm",
        "xorg-x11-server-source-1.20.11-29.oe2203sp2.noarch.rpm",
        "xorg-x11-server-help-1.20.11-29.oe2203sp3.noarch.rpm",
        "xorg-x11-server-source-1.20.11-29.oe2203sp3.noarch.rpm"
    ],
    "x86_64": [
        "xorg-x11-server-Xephyr-1.20.11-28.oe2203.x86_64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-28.oe2203.x86_64.rpm",
        "xorg-x11-server-common-1.20.11-28.oe2203.x86_64.rpm",
        "xorg-x11-server-debugsource-1.20.11-28.oe2203.x86_64.rpm",
        "xorg-x11-server-Xnest-1.20.11-28.oe2203.x86_64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-28.oe2203.x86_64.rpm",
        "xorg-x11-server-devel-1.20.11-28.oe2203.x86_64.rpm",
        "xorg-x11-server-1.20.11-28.oe2203.x86_64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-28.oe2203.x86_64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp3.x86_64.rpm"
    ],
    "src": [
        "xorg-x11-server-1.20.11-28.oe2203.src.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp1.src.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp2.src.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp3.src.rpm"
    ]
}

openEuler:22.03-LTS-SP1 / xorg-x11-server

Package

Name
xorg-x11-server
Purl
pkg:rpm/openEuler/xorg-x11-server&distro=openEuler-22.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.11-29.oe2203sp1

Ecosystem specific

{
    "aarch64": [
        "xorg-x11-server-common-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp1.aarch64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp1.aarch64.rpm"
    ],
    "noarch": [
        "xorg-x11-server-source-1.20.11-29.oe2203sp1.noarch.rpm",
        "xorg-x11-server-help-1.20.11-29.oe2203sp1.noarch.rpm"
    ],
    "x86_64": [
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp1.x86_64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp1.x86_64.rpm"
    ],
    "src": [
        "xorg-x11-server-1.20.11-29.oe2203sp1.src.rpm"
    ]
}

openEuler:22.03-LTS-SP2 / xorg-x11-server

Package

Name
xorg-x11-server
Purl
pkg:rpm/openEuler/xorg-x11-server&distro=openEuler-22.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.11-29.oe2203sp2

Ecosystem specific

{
    "aarch64": [
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp2.aarch64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp2.aarch64.rpm"
    ],
    "noarch": [
        "xorg-x11-server-help-1.20.11-29.oe2203sp2.noarch.rpm",
        "xorg-x11-server-source-1.20.11-29.oe2203sp2.noarch.rpm"
    ],
    "x86_64": [
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp2.x86_64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp2.x86_64.rpm"
    ],
    "src": [
        "xorg-x11-server-1.20.11-29.oe2203sp2.src.rpm"
    ]
}

openEuler:22.03-LTS-SP3 / xorg-x11-server

Package

Name
xorg-x11-server
Purl
pkg:rpm/openEuler/xorg-x11-server&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.11-29.oe2203sp3

Ecosystem specific

{
    "aarch64": [
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp3.aarch64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp3.aarch64.rpm"
    ],
    "noarch": [
        "xorg-x11-server-help-1.20.11-29.oe2203sp3.noarch.rpm",
        "xorg-x11-server-source-1.20.11-29.oe2203sp3.noarch.rpm"
    ],
    "x86_64": [
        "xorg-x11-server-Xvfb-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-debugsource-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-debuginfo-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-Xnest-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-common-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-Xdmx-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-devel-1.20.11-29.oe2203sp3.x86_64.rpm",
        "xorg-x11-server-Xephyr-1.20.11-29.oe2203sp3.x86_64.rpm"
    ],
    "src": [
        "xorg-x11-server-1.20.11-29.oe2203sp3.src.rpm"
    ]
}