{"id":"ALPINE-CVE-2024-33871","details":"An issue was discovered in Artifex Ghostscript before 10.03.1. contrib/opvp/gdevopvp.c allows arbitrary code execution via a custom Driver library, exploitable via a crafted PostScript document. This occurs because the Driver parameter for opvp (and oprp) devices can have an arbitrary name for a dynamic library; this library is then loaded.","modified":"2025-12-03T22:56:05.843676Z","published":"2024-07-03T19:15:03.943Z","upstream":["CVE-2024-33871"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2024-33871"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.04.0-r0"}]}],"versions":["10.0.0-r0","10.0.0-r1","10.0.0-r2","10.01.0-r0","10.01.0-r1","10.01.1-r0","10.01.1-r1","10.01.2-r0","10.02.0-r0","8.64-r0","8.70-r0","8.71-r0","8.71-r1","8.71-r2","8.71-r3","8.71-r4","9.00-r0","9.00-r1","9.00-r2","9.04-r0","9.05-r0","9.05-r1","9.06-r0","9.06-r1","9.06-r2","9.06-r3","9.07-r0","9.09-r0","9.09-r1","9.10-r0","9.10-r1","9.15-r0","9.15-r1","9.16-r0","9.16-r1","9.16-r2","9.18-r0","9.19-r0","9.19-r1","9.20-r0","9.20-r1","9.21-r0","9.21-r1","9.21-r2","9.21-r3","9.22-r0","9.24-r0","9.25-r0","9.25-r1","9.26-r0","9.26-r1","9.26-r2","9.27-r0","9.27-r1","9.27-r2","9.27-r3","9.27-r4","9.50-r0","9.51-r0","9.52-r0","9.53.1-r0","9.53.2-r0","9.53.3-r0","9.54.0-r0","9.54.0-r1","9.55.0-r0","9.56.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-33871.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.03.1-r0"}]}],"versions":["10.0.0-r0","10.0.0-r1","10.0.0-r2","10.01.0-r0","10.01.0-r1","10.01.1-r0","10.01.1-r1","10.01.1-r2","10.01.2-r0","10.02.0-r0","10.02.0-r1","10.02.1-r0","8.64-r0","8.70-r0","8.71-r0","8.71-r1","8.71-r2","8.71-r3","8.71-r4","9.00-r0","9.00-r1","9.00-r2","9.04-r0","9.05-r0","9.05-r1","9.06-r0","9.06-r1","9.06-r2","9.06-r3","9.07-r0","9.09-r0","9.09-r1","9.10-r0","9.10-r1","9.15-r0","9.15-r1","9.16-r0","9.16-r1","9.16-r2","9.18-r0","9.19-r0","9.19-r1","9.20-r0","9.20-r1","9.21-r0","9.21-r1","9.21-r2","9.21-r3","9.22-r0","9.24-r0","9.25-r0","9.25-r1","9.26-r0","9.26-r1","9.26-r2","9.27-r0","9.27-r1","9.27-r2","9.27-r3","9.27-r4","9.50-r0","9.51-r0","9.52-r0","9.53.1-r0","9.53.2-r0","9.53.3-r0","9.54.0-r0","9.54.0-r1","9.55.0-r0","9.56.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-33871.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.03.1-r0"}]}],"versions":["10.0.0-r0","10.0.0-r1","10.0.0-r2","10.01.0-r0","10.01.0-r1","10.01.1-r0","10.01.1-r1","10.01.1-r2","10.01.2-r0","10.02.0-r0","10.02.0-r1","10.02.1-r0","8.64-r0","8.70-r0","8.71-r0","8.71-r1","8.71-r2","8.71-r3","8.71-r4","9.00-r0","9.00-r1","9.00-r2","9.04-r0","9.05-r0","9.05-r1","9.06-r0","9.06-r1","9.06-r2","9.06-r3","9.07-r0","9.09-r0","9.09-r1","9.10-r0","9.10-r1","9.15-r0","9.15-r1","9.16-r0","9.16-r1","9.16-r2","9.18-r0","9.19-r0","9.19-r1","9.20-r0","9.20-r1","9.21-r0","9.21-r1","9.21-r2","9.21-r3","9.22-r0","9.24-r0","9.25-r0","9.25-r1","9.26-r0","9.26-r1","9.26-r2","9.27-r0","9.27-r1","9.27-r2","9.27-r3","9.27-r4","9.50-r0","9.51-r0","9.52-r0","9.53.1-r0","9.53.2-r0","9.53.3-r0","9.54.0-r0","9.54.0-r1","9.55.0-r0","9.56.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-33871.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.03.1-r0"}]}],"versions":["10.0.0-r0","10.0.0-r1","10.0.0-r2","10.01.0-r0","10.01.0-r1","10.01.1-r0","10.01.1-r1","10.01.1-r2","10.01.2-r0","10.02.0-r0","10.02.0-r1","10.02.1-r0","8.64-r0","8.70-r0","8.71-r0","8.71-r1","8.71-r2","8.71-r3","8.71-r4","9.00-r0","9.00-r1","9.00-r2","9.04-r0","9.05-r0","9.05-r1","9.06-r0","9.06-r1","9.06-r2","9.06-r3","9.07-r0","9.09-r0","9.09-r1","9.10-r0","9.10-r1","9.15-r0","9.15-r1","9.16-r0","9.16-r1","9.16-r2","9.18-r0","9.19-r0","9.19-r1","9.20-r0","9.20-r1","9.21-r0","9.21-r1","9.21-r2","9.21-r3","9.22-r0","9.24-r0","9.25-r0","9.25-r1","9.26-r0","9.26-r1","9.26-r2","9.27-r0","9.27-r1","9.27-r2","9.27-r3","9.27-r4","9.50-r0","9.51-r0","9.52-r0","9.53.1-r0","9.53.2-r0","9.53.3-r0","9.54.0-r0","9.54.0-r1","9.55.0-r0","9.56.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-33871.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.03.1-r0"}]}],"versions":["10.0.0-r0","10.0.0-r1","10.0.0-r2","10.01.0-r0","10.01.0-r1","10.01.1-r0","10.01.1-r1","10.01.1-r2","10.01.2-r0","10.02.0-r0","10.02.0-r1","10.02.1-r0","8.64-r0","8.70-r0","8.71-r0","8.71-r1","8.71-r2","8.71-r3","8.71-r4","9.00-r0","9.00-r1","9.00-r2","9.04-r0","9.05-r0","9.05-r1","9.06-r0","9.06-r1","9.06-r2","9.06-r3","9.07-r0","9.09-r0","9.09-r1","9.10-r0","9.10-r1","9.15-r0","9.15-r1","9.16-r0","9.16-r1","9.16-r2","9.18-r0","9.19-r0","9.19-r1","9.20-r0","9.20-r1","9.21-r0","9.21-r1","9.21-r2","9.21-r3","9.22-r0","9.24-r0","9.25-r0","9.25-r1","9.26-r0","9.26-r1","9.26-r2","9.27-r0","9.27-r1","9.27-r2","9.27-r3","9.27-r4","9.50-r0","9.51-r0","9.52-r0","9.53.1-r0","9.53.2-r0","9.53.3-r0","9.54.0-r0","9.54.0-r1","9.55.0-r0","9.56.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-33871.json"}},{"package":{"name":"ghostscript","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/ghostscript?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.03.1-r0"}]}],"versions":["10.0.0-r0","10.0.0-r1","10.0.0-r2","10.01.0-r0","10.01.0-r1","10.01.1-r0","10.01.1-r1","10.01.1-r2","10.01.2-r0","10.02.0-r0","10.02.0-r1","10.02.1-r0","8.64-r0","8.70-r0","8.71-r0","8.71-r1","8.71-r2","8.71-r3","8.71-r4","9.00-r0","9.00-r1","9.00-r2","9.04-r0","9.05-r0","9.05-r1","9.06-r0","9.06-r1","9.06-r2","9.06-r3","9.07-r0","9.09-r0","9.09-r1","9.10-r0","9.10-r1","9.15-r0","9.15-r1","9.16-r0","9.16-r1","9.16-r2","9.18-r0","9.19-r0","9.19-r1","9.20-r0","9.20-r1","9.21-r0","9.21-r1","9.21-r2","9.21-r3","9.22-r0","9.24-r0","9.25-r0","9.25-r1","9.26-r0","9.26-r1","9.26-r2","9.27-r0","9.27-r1","9.27-r2","9.27-r3","9.27-r4","9.50-r0","9.51-r0","9.52-r0","9.53.1-r0","9.53.2-r0","9.53.3-r0","9.54.0-r0","9.54.0-r1","9.55.0-r0","9.56.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-33871.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}