CVE Vulnerabilities

CVE-2022-3551

Improper Resource Shutdown or Release

Published: Oct 17, 2022 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A vulnerability, which was classified as problematic, has been found in X.org Server. Affected by this issue is the function ProcXkbGetKbdByName of the file xkb/xkb.c. The manipulation leads to memory leak. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-211052.

Weakness

The product does not release or incorrectly releases a resource before it is made available for re-use.

Affected Software

NameVendorStart VersionEnd Version
X_serverX.org*21.1.6 (excluding)
Red Hat Enterprise Linux 7RedHatxorg-x11-server-0:1.20.4-19.el7_9*
Red Hat Enterprise Linux 8RedHatxorg-x11-server-Xwayland-0:21.1.3-10.el8*
Red Hat Enterprise Linux 8RedHatxorg-x11-server-0:1.20.11-15.el8*
Red Hat Enterprise Linux 9RedHatxorg-x11-server-0:1.20.11-17.el9*
Red Hat Enterprise Linux 9RedHatxorg-x11-server-Xwayland-0:21.1.3-7.el9*
Xorg-serverUbuntubionic*
Xorg-serverUbuntudevel*
Xorg-serverUbuntuesm-infra-legacy/trusty*
Xorg-serverUbuntuesm-infra/bionic*
Xorg-serverUbuntuesm-infra/focal*
Xorg-serverUbuntuesm-infra/xenial*
Xorg-serverUbuntufocal*
Xorg-serverUbuntujammy*
Xorg-serverUbuntukinetic*
Xorg-serverUbuntulunar*
Xorg-serverUbuntutrusty*
Xorg-serverUbuntutrusty/esm*
Xorg-serverUbuntuxenial*
Xorg-server-hwe-16.04Ubuntuesm-infra/xenial*
Xorg-server-hwe-16.04Ubuntuxenial*
Xorg-server-hwe-18.04Ubuntubionic*
Xorg-server-hwe-18.04Ubuntuesm-infra/bionic*
Xorg-server-lts-utopicUbuntutrusty*
Xorg-server-lts-vividUbuntutrusty*
Xorg-server-lts-wilyUbuntutrusty*
Xorg-server-lts-xenialUbuntutrusty*
XwaylandUbuntujammy*
XwaylandUbuntukinetic*

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.

References