Untrusted search path in libXpm - CVE-2022-4883

 

Untrusted search path in libXpm - CVE-2022-4883

Published: January 17, 2023


Vulnerability identifier: #VU71236
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-4883
CWE-ID: CWE-426
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: xorg.freedesktop.org
Affected software:
libXpm

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to libXpm relies on the $PATH variable to run the command responsible for decompressing .Z or .gz files. A local user can execute arbitrary code with elevated privileges.


How to mitigate CVE-2022-4883

Install updates from vendor's website.

Sources