#VU71236 Untrusted search path in libXpm


Published: 2023-01-17

Vulnerability identifier: #VU71236

Vulnerability risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-4883

CWE-ID: CWE-426

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
libXpm
Other software / Other software solutions

Vendor: xorg.freedesktop.org

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

libXpm: 3.5.4.2 - 3.5.14


External links
http://lists.x.org/archives/xorg-announce/2023-January/003312.html
http://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/515294bb8023a45ff91669
http://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/8178eb0834d82242e1edbc


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability