{"id":"ALPINE-CVE-2022-4883","details":"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.","modified":"2026-03-09T01:22:43.197285Z","published":"2023-02-07T19:15:09.223Z","upstream":["CVE-2022-4883"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-4883"}],"affected":[{"package":{"name":"libxpm","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/libxpm?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.15-r0"}]}],"versions":["3.5.10-r0","3.5.11-r0","3.5.11-r1","3.5.12-r0","3.5.13-r0","3.5.7-r0","3.5.8-r0","3.5.8-r1","3.5.8-r2","3.5.8-r3","3.5.8-r4","3.5.9-r0","3.5.9-r1","3.5.9-r2","3.5.9-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-4883.json"}},{"package":{"name":"libxpm","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/libxpm?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.15-r0"}]}],"versions":["3.5.10-r0","3.5.11-r0","3.5.11-r1","3.5.12-r0","3.5.13-r0","3.5.7-r0","3.5.8-r0","3.5.8-r1","3.5.8-r2","3.5.8-r3","3.5.8-r4","3.5.9-r0","3.5.9-r1","3.5.9-r2","3.5.9-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-4883.json"}},{"package":{"name":"libxpm","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/libxpm?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.15-r0"}]}],"versions":["3.5.10-r0","3.5.11-r0","3.5.11-r1","3.5.12-r0","3.5.13-r0","3.5.7-r0","3.5.8-r0","3.5.8-r1","3.5.8-r2","3.5.8-r3","3.5.8-r4","3.5.9-r0","3.5.9-r1","3.5.9-r2","3.5.9-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-4883.json"}},{"package":{"name":"libxpm","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/libxpm?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.15-r0"}]}],"versions":["3.5.10-r0","3.5.11-r0","3.5.11-r1","3.5.12-r0","3.5.13-r0","3.5.13-r1","3.5.14-r0","3.5.7-r0","3.5.8-r0","3.5.8-r1","3.5.8-r2","3.5.8-r3","3.5.8-r4","3.5.9-r0","3.5.9-r1","3.5.9-r2","3.5.9-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-4883.json"}},{"package":{"name":"libxpm","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/libxpm?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.15-r0"}]}],"versions":["3.5.10-r0","3.5.11-r0","3.5.11-r1","3.5.12-r0","3.5.13-r0","3.5.13-r1","3.5.14-r0","3.5.7-r0","3.5.8-r0","3.5.8-r1","3.5.8-r2","3.5.8-r3","3.5.8-r4","3.5.9-r0","3.5.9-r1","3.5.9-r2","3.5.9-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-4883.json"}},{"package":{"name":"libxpm","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/libxpm?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.15-r0"}]}],"versions":["3.5.10-r0","3.5.11-r0","3.5.11-r1","3.5.12-r0","3.5.13-r0","3.5.13-r1","3.5.14-r0","3.5.7-r0","3.5.8-r0","3.5.8-r1","3.5.8-r2","3.5.8-r3","3.5.8-r4","3.5.9-r0","3.5.9-r1","3.5.9-r2","3.5.9-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-4883.json"}},{"package":{"name":"libxpm","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/libxpm?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.15-r0"}]}],"versions":["3.5.10-r0","3.5.11-r0","3.5.11-r1","3.5.12-r0","3.5.13-r0","3.5.13-r1","3.5.14-r0","3.5.7-r0","3.5.8-r0","3.5.8-r1","3.5.8-r2","3.5.8-r3","3.5.8-r4","3.5.9-r0","3.5.9-r1","3.5.9-r2","3.5.9-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-4883.json"}},{"package":{"name":"libxpm","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/libxpm?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.15-r0"}]}],"versions":["3.5.10-r0","3.5.11-r0","3.5.11-r1","3.5.12-r0","3.5.13-r0","3.5.13-r1","3.5.14-r0","3.5.7-r0","3.5.8-r0","3.5.8-r1","3.5.8-r2","3.5.8-r3","3.5.8-r4","3.5.9-r0","3.5.9-r1","3.5.9-r2","3.5.9-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-4883.json"}},{"package":{"name":"libxpm","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/libxpm?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.15-r0"}]}],"versions":["3.5.10-r0","3.5.11-r0","3.5.11-r1","3.5.12-r0","3.5.13-r0","3.5.13-r1","3.5.14-r0","3.5.7-r0","3.5.8-r0","3.5.8-r1","3.5.8-r2","3.5.8-r3","3.5.8-r4","3.5.9-r0","3.5.9-r1","3.5.9-r2","3.5.9-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-4883.json"}},{"package":{"name":"libxpm","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/libxpm?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.15-r0"}]}],"versions":["3.5.10-r0","3.5.11-r0","3.5.11-r1","3.5.12-r0","3.5.13-r0","3.5.13-r1","3.5.14-r0","3.5.7-r0","3.5.8-r0","3.5.8-r1","3.5.8-r2","3.5.8-r3","3.5.8-r4","3.5.9-r0","3.5.9-r1","3.5.9-r2","3.5.9-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-4883.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}