CVE-2022-4883

high

Description

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.

References

https://lists.x.org/archives/xorg-announce/2023-January/003312.html

https://lists.debian.org/debian-lts-announce/2023/06/msg00021.html

https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9

https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/515294bb8023a45ff91669

https://bugzilla.redhat.com/show_bug.cgi?id=2160213

Details

Source: Mitre, NVD

Published: 2023-02-07

Updated: 2023-10-17

Risk Information

CVSS v2

Base Score: 9

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High