CVE-2022-4883: High severity suse libxpm vulnerability
A flaw was found in libXpm. When processing files with .Z or .gz extensions, the library calls external programs to compress and uncompress files, relying on the PATH environment variable to find these programs, which could allow a malicious user to execute other programs by manipulating the PATH environment variable.
Other sources
By default, on all platforms except MinGW, libXpm will detect if a filename ends in .Z or .gz, and will when reading such a file fork off an uncompress or gunzip command to read from via a pipe, and when writing such a file will fork off a compress or gzip command to write to via a pipe.
In libXpm 3.5.14 or older these are run via execlp(), relying on $PATH to find the commands. If libXpm is called from a program running with raised privileges, such as via setuid, then a malicious user could set $PATH to include programs of their choosing to be run with those privileges.
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2022-4883?
CVE-2022-4883 is a vulnerability found in libXpm that allows a malicious user to execute other programs by manipulating the PATH environment variable.
What is the severity of CVE-2022-4883?
The severity of CVE-2022-4883 is high with a CVSS score of 8.8.
How does CVE-2022-4883 affect the libXpm software?
CVE-2022-4883 affects the libXpm software by allowing a malicious user to execute other programs through manipulated file extensions.
What is the remedy for CVE-2022-4883?
The recommended remedy for CVE-2022-4883 is to update libXpm to version 3.5.15 or apply the appropriate patch provided by the vendor.
Where can I find more information about CVE-2022-4883?
You can find more information about CVE-2022-4883 in the references provided: [link1], [link2], [link3].