CVE-2023-36664 Artifex Ghostscript before 10.01.2 mishandles permission validation for pipe devices (with the %pipe% prefix or the | pipe character prefix).

High 7.8 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2023-36664?

CVE-2023-36664 is a high-severity vulnerability in Artifex Ghostscript, published on 25 Jun 2023.

Official description

Artifex Ghostscript before 10.01.2 mishandles permission validation for pipe devices (with the %pipe% prefix or the | pipe character prefix).

Weakness: CWE-552

Which versions are affected by CVE-2023-36664?

It affects 3 products.

Linux distribution packages (40)
ghostscript AlmaLinux:9All versions9.54.0-10.el9_2
ghostscript-doc AlmaLinux:9All versions9.54.0-10.el9_2
ghostscript-tools-dvipdf AlmaLinux:9All versions9.54.0-10.el9_2
ghostscript-tools-fonts AlmaLinux:9All versions9.54.0-10.el9_2
ghostscript-tools-printing AlmaLinux:9All versions9.54.0-10.el9_2
ghostscript-x11 AlmaLinux:9All versions9.54.0-10.el9_2
libgs AlmaLinux:9All versions9.54.0-10.el9_2
libgs-devel AlmaLinux:9All versions9.54.0-10.el9_2
ghostscript Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
ghostscript-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
ghostscript-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
ghostscript-doc Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
ghostscript-gtk-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
ghostscript-tools-dvipdf Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
ghostscript-tools-fonts Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
ghostscript-tools-printing Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
ghostscript-x11 Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
ghostscript-x11-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
libgs Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
libgs-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:9.54.0-10.el9_2
ghostscript Red Hat:enterprise_linux:9::crbAll versions0:9.54.0-10.el9_2
ghostscript-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:9.54.0-10.el9_2
ghostscript-debugsource Red Hat:enterprise_linux:9::crbAll versions0:9.54.0-10.el9_2
ghostscript-gtk-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:9.54.0-10.el9_2
ghostscript-tools-fonts Red Hat:enterprise_linux:9::crbAll versions0:9.54.0-10.el9_2
ghostscript-tools-printing Red Hat:enterprise_linux:9::crbAll versions0:9.54.0-10.el9_2
ghostscript-x11-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:9.54.0-10.el9_2
libgs-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:9.54.0-10.el9_2
libgs-devel Red Hat:enterprise_linux:9::crbAll versions0:9.54.0-10.el9_2
ghostscript Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1
ghostscript-debuginfo Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1
ghostscript-debugsource Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1
ghostscript-doc Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1
ghostscript-gtk-debuginfo Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1
ghostscript-tools-dvipdf Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1
ghostscript-tools-fonts Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1
ghostscript-tools-printing Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1
ghostscript-x11 Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1
ghostscript-x11-debuginfo Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1
libgs Red Hat:rhel_eus:9.0::appstreamAll versions0:9.54.0-7.el9_0.1

Products include Artifex Ghostscript, Debian Debian Linux, Fedoraproject Fedora.

How do I fix CVE-2023-36664?

Upgrade to a fixed version.

Is CVE-2023-36664 being exploited?

There is no known exploitation of CVE-2023-36664 in the wild and no public exploit code.

Public exploit code: 4 proofs of concept on GitHub.

All Artifex Ghostscript vulnerabilities

Sources

Also known as ALPINE-CVE-2023-36664, ALSA-2023:5459, DEBIAN-CVE-2023-36664, DSA-5446-1, GHSA-9gf6-5j7x-x3m9, RHSA-2023:4324 and 7 more.

Is CVE-2023-36664 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free