Name | CVE-2024-33870 |
Description | An issue was discovered in Artifex Ghostscript before 10.03.1. There is path traversal (via a crafted PostScript document) to arbitrary files if the current directory is in the permitted paths. For example, there can be a transformation of ../../foo to ./../../foo and this will grant access if ./ is permitted. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5692-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ghostscript (PTS) | jessie, jessie (lts) | 9.26a~dfsg-0+deb8u12 | fixed |
| stretch (security) | 9.26a~dfsg-0+deb9u9 | fixed |
| stretch (lts), stretch | 9.26a~dfsg-0+deb9u12 | fixed |
| buster (security), buster, buster (lts) | 9.27~dfsg-2+deb10u9 | fixed |
| bullseye (security), bullseye | 9.53.3~dfsg-7+deb11u7 | fixed |
| bookworm | 10.0.0~dfsg-11+deb12u4 | fixed |
| bookworm (security) | 10.0.0~dfsg-11+deb12u5 | fixed |
| trixie, sid | 10.03.1~dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - ghostscript <not-affected> (The vulnerable code was introduced later)
https://ghostscript.readthedocs.io/en/gs10.03.1/News.html
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=79aef19c685984dc3da2dc090450407d9fbcff80 (ghostpdl-10.03.1)
https://bugs.ghostscript.com/show_bug.cgi?id=707686
[stretch] - ghostscript <not-affected> (The vulnerable code was introduced later)
[jessie] - ghostscript <not-affected> (The vulnerable code was introduced later)