CWE
22
Advisory Published
CVE Published
Updated

CVE-2024-33870: Path Traversal

First published: Mon Jun 24 2024(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/ghostscript
9.53.3~dfsg-7+deb11u7
10.0.0~dfsg-11+deb12u4
10.0.0~dfsg-11+deb12u5
10.03.1~dfsg-2
redhat/ghostscript<10.03.1
10.03.1
Ghostscript<10.03.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-33870?

    CVE-2024-33870 is classified as a high severity vulnerability due to its potential for path traversal attacks.

  • How do I fix CVE-2024-33870?

    To mitigate CVE-2024-33870, upgrade Ghostscript to version 10.03.1 or later.

  • What types of systems are affected by CVE-2024-33870?

    CVE-2024-33870 affects Ghostscript versions prior to 10.03.1 on various operating systems including Debian and Red Hat.

  • What is the impact of CVE-2024-33870?

    CVE-2024-33870 allows attackers to access arbitrary files through a crafted PostScript document, compromising system confidentiality.

  • Is there a workaround for CVE-2024-33870?

    A temporary workaround for CVE-2024-33870 includes restricting access to allowed directories and avoiding the processing of untrusted PostScript documents.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203