OESA-2022-1920

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1920
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1920.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1920
Upstream
Published
2022-09-16T11:04:17Z
Modified
2025-08-12T05:09:33.110752Z
Summary
wayland security update
Details

Wayland is a protocol for a compositor to talk to its clients as well as a C library implementation of that protocol. The compositor can be a standalone display server running on Linux kernel modesetting and evdev input devices, an X application, or a wayland client itself. The clients can be traditional applications, X servers (rootless or fullscreen) or other display servers. Part of the Wayland project is also the Weston reference implementation of a Wayland compositor. Weston can run as an X client or under Linux KMS and ships with a few demo clients. The Weston compositor is a minimal and fast compositor and is suitable for many embedded and mobile use cases.

Security Fix(es):

An internal reference count is held on the buffer pool, incremented every time a new buffer is created from the pool. The reference count is maintained as an int; on LP64 systems this can cause the reference count to overflow if the client creates a large number of wlshm buffer objects, or if it can coerce the server to create a large number of external references to the buffer storage. With the reference count overflowing, a use-after-free can be constructed on the wlshm_pool tracking structure, where values may be incremented or decremented; it may also be possible to construct a limited oracle to leak 4 bytes of server-side memory to the attacking client at a time.(CVE-2021-3782)

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

Affected packages

openEuler:20.03-LTS-SP1 / wayland

Package

Name
wayland
Purl
pkg:rpm/openEuler/wayland&distro=openEuler-20.03-LTS-SP1

Affected ranges

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

Ecosystem specific

{
    "aarch64": [
        "wayland-debuginfo-1.17.0-3.oe1.aarch64.rpm",
        "wayland-debugsource-1.17.0-3.oe1.aarch64.rpm",
        "wayland-devel-1.17.0-3.oe1.aarch64.rpm",
        "wayland-1.17.0-3.oe1.aarch64.rpm"
    ],
    "noarch": [
        "wayland-help-1.17.0-3.oe1.noarch.rpm"
    ],
    "src": [
        "wayland-1.17.0-3.oe1.src.rpm"
    ],
    "x86_64": [
        "wayland-debuginfo-1.17.0-3.oe1.x86_64.rpm",
        "wayland-devel-1.17.0-3.oe1.x86_64.rpm",
        "wayland-debugsource-1.17.0-3.oe1.x86_64.rpm",
        "wayland-1.17.0-3.oe1.x86_64.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / wayland

Package

Name
wayland
Purl
pkg:rpm/openEuler/wayland&distro=openEuler-20.03-LTS-SP3

Affected ranges

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

Ecosystem specific

{
    "aarch64": [
        "wayland-1.17.0-3.oe1.aarch64.rpm",
        "wayland-devel-1.17.0-3.oe1.aarch64.rpm",
        "wayland-debugsource-1.17.0-3.oe1.aarch64.rpm",
        "wayland-debuginfo-1.17.0-3.oe1.aarch64.rpm"
    ],
    "noarch": [
        "wayland-help-1.17.0-3.oe1.noarch.rpm"
    ],
    "src": [
        "wayland-1.17.0-3.oe1.src.rpm"
    ],
    "x86_64": [
        "wayland-devel-1.17.0-3.oe1.x86_64.rpm",
        "wayland-1.17.0-3.oe1.x86_64.rpm",
        "wayland-debugsource-1.17.0-3.oe1.x86_64.rpm",
        "wayland-debuginfo-1.17.0-3.oe1.x86_64.rpm"
    ]
}

openEuler:22.03-LTS / wayland

Package

Name
wayland
Purl
pkg:rpm/openEuler/wayland&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.19.91-4.oe2203

Ecosystem specific

{
    "aarch64": [
        "wayland-debuginfo-1.19.91-4.oe2203.aarch64.rpm",
        "wayland-1.19.91-4.oe2203.aarch64.rpm",
        "wayland-devel-1.19.91-4.oe2203.aarch64.rpm",
        "wayland-debugsource-1.19.91-4.oe2203.aarch64.rpm"
    ],
    "noarch": [
        "wayland-help-1.19.91-4.oe2203.noarch.rpm"
    ],
    "src": [
        "wayland-1.19.91-4.oe2203.src.rpm"
    ],
    "x86_64": [
        "wayland-devel-1.19.91-4.oe2203.x86_64.rpm",
        "wayland-1.19.91-4.oe2203.x86_64.rpm",
        "wayland-debuginfo-1.19.91-4.oe2203.x86_64.rpm",
        "wayland-debugsource-1.19.91-4.oe2203.x86_64.rpm"
    ]
}