CVE-2017-11714
High · 7.8CVSS
7.8
EPSS
2.3%
Published
Jul 28, 2017
CISA due date
—
Cloudanix analysis
A problem in document-handling software can let attackers crash programs or potentially run harmful code by opening specially crafted files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Out-of-bounds read in scanner state reference handling within Ghostscript's PostScript processing causes application crash or memory corruption.
Why it matters to the business
Service disruptions or potential code execution in environments processing PostScript content, increasing operational risk for dependent applications even years after initial disclosure.
How an attack unfolds
An attacker supplies a crafted PostScript document that triggers mishandled scanner state references during parsing, leading to an out-of-bounds read in memory management functions.
How to fix it
Upgrade metrics-server (Chainguard) and metrics-server (Wolfi) to version 0.6.4-r8 or later; remove or isolate older Ghostscript-dependent components until updated.
How to confirm the fix worked
Verify installed package versions match or exceed 0.6.4-r8 for the affected metrics-server distributions and confirm Ghostscript dependency is resolved.
Typical attack path
- Create malicious PostScript document exploiting scanner reference handling
- Deliver document to target system via local file or application input
- Induce target application to process the document with vulnerable Ghostscript
- Trigger memory corruption resulting in crash or further impact
How to detect it
Review application and system logs for Ghostscript crashes during PostScript parsing; monitor for unexpected process terminations or memory errors tied to document processing.
What your security team should do
- Apply the specified package updates to 0.6.4-r8 without delay
- Audit all environments for presence of vulnerable Ghostscript versions
- Implement strict input validation for any PostScript processing workflows
The record
psi/ztoken.c in Artifex Ghostscript 9.21 mishandles references to the scanner state structure, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PostScript document, related to an out-of-bounds read in the igc_reloc_struct_ptr function in psi/igc.c.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | ghostscript | 0 | 9.22~dfsg-1 |
| Debian:12 | ghostscript | 0 | 9.22~dfsg-1 |
| Debian:13 | ghostscript | 0 | 9.22~dfsg-1 |
| Debian:7 | ghostscript | 0 | 9.05~dfsg-6.3+deb7u7 |
| Debian:8 | ghostscript | 0 | 9.06~dfsg-2+deb8u6 |
| Debian:9 | ghostscript | 0 | 9.20~dfsg-3.2+deb9u1 |
| Mageia:5 | ghostscript | 0 | 9.20-1.1.mga5 |
| Mageia:6 | ghostscript | 0 | 9.20-3.1.mga6 |
| SUSE:Linux Enterprise Desktop 12 SP2 | ghostscript | 0 | 9.15-23.7.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | ghostscript | 0 | 9.15-23.7.1 |
| SUSE:Linux Enterprise Server 11 SP4 | ghostscript-library | 0 | 8.62-32.47.7.1 |
| SUSE:Linux Enterprise Server 12 SP2 | ghostscript | 0 | 9.15-23.7.1 |
| SUSE:Linux Enterprise Server 12 SP3 | ghostscript | 0 | 9.15-23.7.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | ghostscript | 0 | 9.15-23.7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | ghostscript-library | 0 | 8.62-32.47.7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | ghostscript | 0 | 9.15-23.7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | ghostscript | 0 | 9.15-23.7.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | ghostscript-library | 0 | 8.62-32.47.7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | ghostscript | 0 | 9.15-23.7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | ghostscript | 0 | 9.15-23.7.1 |
| Ubuntu:14.04:LTS | ghostscript | 0 | 9.10~dfsg-0ubuntu10.10 |
| Ubuntu:16.04:LTS | ghostscript | 0 | 9.18~dfsg~0-0ubuntu2.7 |
Related vulnerabilities
- CVE-2024-46956 An issue was discovered in psi/zfile.c in Artifex Ghostscript before 10.04.0. Also affects ghostscript
- CVE-2024-46955 An issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. Also affects ghostscript
- CVE-2024-46953 An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. Also affects ghostscript
- CVE-2024-46952 An issue was discovered in pdf/pdf_xref.c in Artifex Ghostscript before 10.04.0. Also affects ghostscript
- CVE-2024-46951 An issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. Also affects ghostscript
- CVE-2024-29508 Artifex Ghostscript before 10.03.0 has a heap-based pointer disclosure (observable in a… Also affects ghostscript
- CVE-2023-52722 An issue was discovered in Artifex Ghostscript before 10.03.1. Also affects ghostscript
- CVE-2023-38559 A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in… Also affects ghostscript