# CVE-2024-33870

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-03 · Modified: 2024-11-07
- Aliases: ALPINE-CVE-2024-33870, UBUNTU-CVE-2024-33870, DEBIAN-CVE-2024-33870, CGA-jfqr-43mp-2h4j, CGA-qc34-839c-gvc6
- Record: https://cvemate.com/vulnerability/CVE-2024-33870 · JSON: https://cvemate.com/vulnerability/CVE-2024-33870/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.515%, percentile 45.408%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine ghostscript (Alpine Linux): \< 10.04.0-r0 \| \< 10.03.1-r0
- chainguard ghostscript (Chainguard): \< 10.03.1-r0
- wolfi ghostscript (Wolfi): \< 10.03.1-r0
- artifex ghostscript: \< 10.03.1
- debian ghostscript (Debian): \< 10.0.0~dfsg-11+deb12u4 \| \< 10.03.1~dfsg~git20240518-1
- ubuntu ghostscript (Ubuntu): \< 9.50~dfsg-5ubuntu4.12 \| \< 9.55.0~dfsg1-0ubuntu5.7 \| \< 10.02.1~dfsg1-0ubuntu7.1

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=707686>
- <https://www.openwall.com/lists/oss-security/2024/06/28/2>
- <https://security.alpinelinux.org/vuln/CVE-2024-33870>
- <https://ubuntu.com/security/CVE-2024-33870>
- <https://www.cve.org/CVERecord?id=CVE-2024-33870>
- <https://ghostscript.readthedocs.io/en/gs10.03.1/News.html>
- <https://ubuntu.com/security/notices/USN-6835-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-33870>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33870.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-33870>

---

Data as of 2026-12-05T07:37:37.414Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
