| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, 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) | bullseye | 9.53.3~dfsg-7+deb11u7 | fixed |
| bullseye (security) | 9.53.3~dfsg-7+deb11u11 | fixed |
| bookworm | 10.0.0~dfsg-11+deb12u7 | fixed |
| bookworm (security) | 10.0.0~dfsg-11+deb12u8 | fixed |
| trixie | 10.05.1~dfsg-1 | fixed |
| trixie (security) | 10.05.1~dfsg-1+deb13u1 | fixed |
| forky | 10.05.1~dfsg-3 | fixed |
| sid | 10.06.0~dfsg-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| ghostscript | source | bullseye | (not affected) | | | |
| ghostscript | source | bookworm | (not affected) | | | |
| ghostscript | source | (unstable) | 10.04.0~dfsg-1 | | | |
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)