CVEfocus › CVE database › CVE-2024-33870

CVE-2024-33870

CVSS 6.3 MediumEPSS 0.5% (higher than 38% of CVEs)Published 2024-07-03Updated 2024-11-07Assigner: mitre

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.

CWE-22

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

30Fixed
19Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ghostscriptFixed10.02.1~dfsg1-0ubuntu7.1UBUNTU-CVE-2024-33870
Ubuntu 22.04ghostscriptFixed9.55.0~dfsg1-0ubuntu5.7UBUNTU-CVE-2024-33870
Ubuntu 20.04ghostscriptFixed9.50~dfsg-5ubuntu4.12UBUNTU-CVE-2024-33870
Debian 14ghostscriptFixed10.03.1~dfsg~git20240518-1DEBIAN-CVE-2024-33870
Debian 13ghostscriptFixed10.03.1~dfsg~git20240518-1DEBIAN-CVE-2024-33870
Debian 12ghostscriptFixed10.0.0~dfsg-11+deb12u4DEBIAN-CVE-2024-33870
Red Hat Enterprise Linux 10ghostscriptNot affected
Red Hat Enterprise Linux 10ghostscript-docNot affected
Red Hat Enterprise Linux 10ghostscript-tools-dvipdfNot affected
Red Hat Enterprise Linux 10ghostscript-tools-fontsNot affected
Red Hat Enterprise Linux 10ghostscript-tools-printingNot affected
Red Hat Enterprise Linux 10libgsNot affected
Red Hat Enterprise Linux 10libgs-develNot affected
Red Hat Enterprise Linux 9ghostscriptFixed0:9.54.0-17.el9_4RHSA-2024:6197
Red Hat Enterprise Linux 9ghostscript-docFixed0:9.54.0-17.el9_4RHSA-2024:6197
Red Hat Enterprise Linux 9ghostscript-tools-dvipdfFixed0:9.54.0-17.el9_4RHSA-2024:6197
Red Hat Enterprise Linux 9ghostscript-tools-fontsFixed0:9.54.0-17.el9_4RHSA-2024:6197
Red Hat Enterprise Linux 9ghostscript-tools-printingFixed0:9.54.0-17.el9_4RHSA-2024:6197
Red Hat Enterprise Linux 9ghostscript-x11Fixed0:9.54.0-17.el9_4RHSA-2024:6197
Red Hat Enterprise Linux 9libgsFixed0:9.54.0-17.el9_4RHSA-2024:6197
Red Hat Enterprise Linux 9libgs-develFixed0:9.54.0-17.el9_4RHSA-2024:6197
Red Hat Enterprise Linux 8ghostscriptWill not fix
Will not fix
Red Hat Enterprise Linux 8ghostscript-docWill not fix
Will not fix
Red Hat Enterprise Linux 8ghostscript-tools-dvipdfWill not fix
Will not fix
Red Hat Enterprise Linux 8ghostscript-tools-fontsWill not fix
Will not fix
Red Hat Enterprise Linux 8ghostscript-tools-printingWill not fix
Will not fix
Red Hat Enterprise Linux 8ghostscript-x11Will not fix
Will not fix
Red Hat Enterprise Linux 8libgsWill not fix
Will not fix
Red Hat Enterprise Linux 8libgs-develWill not fix
Will not fix
Red Hat Enterprise Linux 7ghostscriptWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-docWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-gtkWill not fix
Out of support scope
Red Hat Enterprise Linux 7libgsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libgs-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscriptWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-gtkWill not fix
Out of support scope
AlmaLinux 9ghostscriptFixed9.54.0-17.el9_4ALSA-2024:6197
AlmaLinux 9ghostscript-docFixed9.54.0-17.el9_4ALSA-2024:6197
AlmaLinux 9ghostscript-tools-dvipdfFixed9.54.0-17.el9_4ALSA-2024:6197
AlmaLinux 9ghostscript-tools-fontsFixed9.54.0-17.el9_4ALSA-2024:6197
AlmaLinux 9ghostscript-tools-printingFixed9.54.0-17.el9_4ALSA-2024:6197
AlmaLinux 9ghostscript-x11Fixed9.54.0-17.el9_4ALSA-2024:6197
AlmaLinux 9libgsFixed9.54.0-17.el9_4ALSA-2024:6197
AlmaLinux 9libgs-develFixed9.54.0-17.el9_4ALSA-2024:6197
Rocky Linux 9ghostscriptFixed0:9.54.0-17.el9_4RLSA-2024:6197
Alpine Linux 3.24ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33870
Alpine Linux 3.23ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33870
Alpine Linux 3.22ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33870
Alpine Linux 3.21ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33870
Alpine Linux 3.20ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33870
Alpine Linux 3.19ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33870
Alpine Linux 3.18ghostscriptFixed10.04.0-r0ALPINE-CVE-2024-33870

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.