CVE-2022-4283 Use after free in xorg-x11-server

High 7.8 Published Updated

A use-after-free in X.Org allows local privilege escalation and remote code execution via SSH X forwarding.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-4283?

CVE-2022-4283 is a high-severity use after free vulnerability in Debian Debian Linux, published on 14 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2022-4283?

It affects 4 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Redhat Enterprise Linux, X.org X Server.

How do I fix CVE-2022-4283?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-4283 being exploited?

There is no known exploitation of CVE-2022-4283 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-44793, DEBIAN-CVE-2022-4283, GHSA-pchh-rhx4-655j, UBUNTU-CVE-2022-4283.

Is CVE-2022-4283 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free