CVE-2024-33871

NameCVE-2024-33871
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5692-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ghostscript (PTS)jessie, jessie (lts)9.26a~dfsg-0+deb8u12vulnerable
stretch (security)9.26a~dfsg-0+deb9u9vulnerable
stretch (lts), stretch9.26a~dfsg-0+deb9u12vulnerable
buster (security), buster, buster (lts)9.27~dfsg-2+deb10u9vulnerable
bullseye9.53.3~dfsg-7+deb11u7fixed
bullseye (security)9.53.3~dfsg-7+deb11u8fixed
bookworm10.0.0~dfsg-11+deb12u5fixed
bookworm (security)10.0.0~dfsg-11+deb12u6fixed
sid, trixie10.04.0~dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsourcebullseye9.53.3~dfsg-7+deb11u7DSA-5692-1
ghostscriptsourcebookworm10.0.0~dfsg-11+deb12u4DSA-5692-1
ghostscriptsource(unstable)10.03.1~dfsg~git20240518-1

Notes

[buster] - ghostscript <ignored> (fix requires API functions introduced in 9.50)
https://ghostscript.readthedocs.io/en/gs10.03.1/News.html
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=7145885041bb52cc23964f0aa2aec1b1c82b5908 (ghostpdl-10.03.1)
https://bugs.ghostscript.com/show_bug.cgi?id=707754
API functions used by fixing commit were introduced in:
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=9de16a6637b73e35f79d2d622de403b24e6502f2
[stretch] - ghostscript <ignored> (fix requires API functions introduced in 9.50)
[jessie] - ghostscript <ignored> (fix requires API functions introduced in 9.50)

Search for package or bug name: Reporting problems