Name | CVE-2024-46954 |
Description | An issue was discovered in decode_utf8 in base/gp_utf8.c in Artifex Ghostscript before 10.04.0. Overlong UTF-8 encoding leads to possible ../ directory traversal. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
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+deb8u13 | fixed |
| stretch (security) | 9.26a~dfsg-0+deb9u9 | fixed |
| stretch (lts), stretch | 9.26a~dfsg-0+deb9u13 | fixed |
| buster, buster (lts) | 9.27~dfsg-2+deb10u10 | fixed |
| buster (security) | 9.27~dfsg-2+deb10u9 | fixed |
| bullseye | 9.53.3~dfsg-7+deb11u7 | fixed |
| bullseye (security) | 9.53.3~dfsg-7+deb11u9 | fixed |
| bookworm | 10.0.0~dfsg-11+deb12u5 | fixed |
| bookworm (security) | 10.0.0~dfsg-11+deb12u6 | fixed |
| sid, trixie | 10.04.0~dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - ghostscript <not-affected> (Vulnerable code introduced later)
[bullseye] - ghostscript <not-affected> (Vulnerable code introduced later)
https://bugs.ghostscript.com/show_bug.cgi?id=707788
Introduced by: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=e15f8ff9db30c4e780973cef79e162baed6047c6 (ghostpdl-10.01.0rc1)
Introduced when making previously windows specific functions generically available.
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=55f587dd039282316f512e1bea64218fd991f934
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=282f691f5e57b6bf55ba51ad8c2be2cce8edb938 (ghostpdl-10.04.0)
[buster] - ghostscript <not-affected> (Vulnerable code introduced later)
[stretch] - ghostscript <not-affected> (Vulnerable code introduced later)
[jessie] - ghostscript <not-affected> (Vulnerable code introduced later)