CVE-2022-4883: Untrusted Search Path
(updated )
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
- bugzilla.redhat.com/show_bug.cgi?id=2160213
- gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/515294bb8023a45ff91669
- gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9
- lists.debian.org/debian-lts-announce/2023/06/msg00021.html
- lists.x.org/archives/xorg-announce/2023-January/003312.html
- nvd.nist.gov/vuln/detail/CVE-2022-4883
Detect and mitigate CVE-2022-4883 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →