跳转到帖子

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

recommended_posts

发布于
  • Members

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/14/2025
Modified
02/14/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

References

  • https://attackerkb.com/topics/cve-2024-33870
  • CVE - 2024-33870
  • https://alas.aws.amazon.com/AL2023/ALAS-2024-691.html
  • 查看数 702
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。
注意:你的帖子需要版主批准后才能看到。

游客
回帖…