CVE-2024-33870
Reported by mitre · Published July 3, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ghostscript | Wolfi | 10.03.1-r0 |
| ghostscript-gtk | Amazon Linux | 9.56.1-7.amzn2023.0.10, 9.54.0-9.amzn2.0.6 |
| ghostscript-tools-dvipdf | Amazon Linux | 9.56.1-7.amzn2023.0.10 |
| libgs | Amazon Linux | 9.56.1-7.amzn2023.0.10, 9.54.0-9.amzn2.0.6 |
| ghostscript-doc | Amazon Linux | 9.56.1-7.amzn2023.0.10, 9.54.0-9.amzn2.0.6 |
| libgs-devel | Amazon Linux | 9.56.1-7.amzn2023.0.10, 9.54.0-9.amzn2.0.6 |
| ghostscript-tools-fonts | Amazon Linux | 9.56.1-7.amzn2023.0.10 |
| ghostscript | Amazon Linux | 9.56.1-7.amzn2023.0.10, 9.54.0-9.amzn2.0.6 |
| ghostscript | Chainguard | 10.03.1-r0 |
| ghostscript-tools-printing | Amazon Linux | 9.56.1-7.amzn2023.0.10 |
| ghostscript-cups | Amazon Linux | 9.54.0-9.amzn2.0.6 |
| ghostscript-x11 | Amazon Linux | 9.56.1-7.amzn2023.0.10 |
2 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| wolfi | ghostscript | 0 |
| amazon:2023 | ghostscript-gtk | 0 |
| amazon:2023 | ghostscript-tools-dvipdf | 0 |
| amazon:2023 | libgs | 0 |
| amazon:2 | ghostscript-doc | 0 |
| amazon:2 | libgs-devel | 0 |
| amazon:2023 | ghostscript-tools-fonts | 0 |
| amazon:2023 | libgs-devel | 0 |
| amazon:2023 | ghostscript | 0 |
| amazon:2023 | ghostscript-doc | 0 |
| chainguard | ghostscript | 0 |
| amazon:2023 | ghostscript-tools-printing | 0 |
| amazon:2 | ghostscript-cups | 0 |
| amazon:2 | libgs | 0 |
| amazon:2023 | ghostscript-x11 | 0 |
| amazon:2 | ghostscript | 0 |
| amazon:2 | ghostscript-gtk | 0 |
| alpine | ghostscript | 0, 0 |
| n/a | n/a | * |
Timeline
- Jun 24, 2024 CVE Published
- Jul 4, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (13 in total, the first dated here)
- Apr 29, 2026 Security Advisory (5 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-33870
vulnetix vdb fixes CVE-2024-33870
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-33870/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart