Use After Free in X.org X Server
CVE-2022-4283
A vulnerability was found in X.Org. This security flaw occurs because the XkbCopyNames function left a dangling pointer to freed memory, resulting in out-of-bounds memory access on subsequent XkbGetKbdByName requests.. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.011, 65.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- X.org X Server — versions 1.20.4
- Debian Linux — versions 11.0
- Fedoraproject Fedora — versions 36, 37
- Red Hat Enterprise Linux — versions 6.0, 7.0, 8.0
- Xorg-X11-Server — versions xorg-x11-server-1.20.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- access.redhat.com/security/cve/CVE-2022-4283 (Third Party Advisory)
- FEDORA-2022-c3a65f7c65 (vendor-advisory, Mailing List, Third Party Advisory)
- FEDORA-2022-721a78b7e5 (vendor-advisory, Mailing List, Third Party Advisory)
- DSA-5304 (vendor-advisory, Third Party Advisory)
- FEDORA-2022-dd3eb7e0a8 (vendor-advisory, Mailing List, Third Party Advisory)
- security.gentoo.org/glsa/202305-30