VULNERABILITY

Amazon Linux 2023: CVE-2024-33870: Medium priority package update for ghostscript

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

Amazon Linux 2023: CVE-2024-33870: Medium priority package update for ghostscript

Severity
6
CVSS
(AV:L/AC:L/Au:N/C:C/I:N/A:P)
Published
05/16/2024
Created
02/14/2025
Added
02/17/2025
Modified
02/17/2025

Description

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. A flaw was found in Ghostscript. When the `gp_validate_path_len` function validates a path, it distinguishes between absolute and relative paths. In the case of relative paths, it will check the path with and without the current-directory-prefix ("foo" and "./foo"). This does not take into account paths with a parent-directory-prefix. Therefore, a path like "../../foo" is also tested as "./../../foo" and if the current directory "./" is in the permitted paths, it will pass the check, which may allow arbitrary file access.

Solution(s)

  • amazon-linux-2023-upgrade-ghostscript
  • amazon-linux-2023-upgrade-ghostscript-debuginfo
  • amazon-linux-2023-upgrade-ghostscript-debugsource
  • amazon-linux-2023-upgrade-ghostscript-doc
  • amazon-linux-2023-upgrade-ghostscript-gtk
  • amazon-linux-2023-upgrade-ghostscript-gtk-debuginfo
  • amazon-linux-2023-upgrade-ghostscript-tools-dvipdf
  • amazon-linux-2023-upgrade-ghostscript-tools-fonts
  • amazon-linux-2023-upgrade-ghostscript-tools-printing
  • amazon-linux-2023-upgrade-ghostscript-x11
  • amazon-linux-2023-upgrade-ghostscript-x11-debuginfo
  • amazon-linux-2023-upgrade-libgs
  • amazon-linux-2023-upgrade-libgs-debuginfo
  • amazon-linux-2023-upgrade-libgs-devel

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;