CVE-2024-46954 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.
HighCVSS 7.8
EPSS 0.55%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 11 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/ghostscript(Alpine v3.18) | < 10.04.0-r0 | 10.04.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.19) | < 10.04.0-r0 | 10.04.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.20) | < 10.04.0-r0 | 10.04.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.21) | < 10.04.0-r0 | 10.04.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.22) | < 10.04.0-r0 | 10.04.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.23) | < 10.04.0-r0 | 10.04.0-r0 | Fixed |
| alpine/ghostscript(Alpine v3.24) | < 10.04.0-r0 | 10.04.0-r0 | Fixed |
| artifex ghostscript | < 10.04.0; = 10.04.0 | 10.04.0 | Fixed |
| debian/ghostscript(Debian 13) | < 10.04.0~dfsg-1 | 10.04.0~dfsg-1 | Fixed |
| debian/ghostscript(Debian 14) | < 10.04.0~dfsg-1 | 10.04.0~dfsg-1 | Fixed |
| ubuntu/ghostscript(Ubuntu 24.04) | < 10.02.1~dfsg1-0ubuntu7.4 | 10.02.1~dfsg1-0ubuntu7.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ghostscript(Debian:13) | < 10.04.0~dfsg-1 | 10.04.0~dfsg-1 |
| debian/ghostscript(Debian:14) | < 10.04.0~dfsg-1 | 10.04.0~dfsg-1 |
| artifex ghostscript | = 10.04.0 | No fix listed |
| alpine/ghostscript(Alpine:v3.18) | < 10.04.0-r0 | 10.04.0-r0 |
| alpine/ghostscript(Alpine:v3.19) | < 10.04.0-r0 | 10.04.0-r0 |
| alpine/ghostscript(Alpine:v3.20) | < 10.04.0-r0 | 10.04.0-r0 |
| alpine/ghostscript(Alpine:v3.21) | < 10.04.0-r0 | 10.04.0-r0 |
| alpine/ghostscript(Alpine:v3.22) | < 10.04.0-r0 | 10.04.0-r0 |
| alpine/ghostscript(Alpine:v3.23) | < 10.04.0-r0 | 10.04.0-r0 |
| alpine/ghostscript(Alpine:v3.24) | < 10.04.0-r0 | 10.04.0-r0 |
| ubuntu/ghostscript(Ubuntu:24.04) | < 10.02.1~dfsg1-0ubuntu7.4 | 10.02.1~dfsg1-0ubuntu7.4 |
| artifex ghostscript | < 10.04.0 | 10.04.0 |
References
- Debian Security Tracker CVE-2024-46954 vendor-advisory
- bugs.ghostscript.com permissions-required
- github.com product
- cgit.ghostscript.com patch
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7103-1 vendor-advisory
- www.cve.org