CVE-2024-33869: Artifex Ghostscript - Path Traversal & Command Injection
- Cve: CVE-2024-33869
- Name: Artifex Ghostscript - Path Traversal & Command Injection
- Description: An issue was discovered in Artifex Ghostscript before 10.03.1. Path traversal and command execution can occur (via a crafted PostScript document) because of path reduction in base/gpmisc.c. For example, restrictions on use of %pipe% can be bypassed via the aa/../%pipe%command# output filename.
- Impact: Attackers can execute arbitrary commands and access arbitrary files, potentially leading to system compromise.
- Remediation: Update to version 10.03.1 or later.
- Vulnerability type: command_injection
- Vulnerability impact: file_system_read, remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to craft and deliver a malicious PostScript document
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- Epss score: 0.00454
- Epss percentile: 0.40177
- Assignee: [email protected]
- Published at: 2024-07-03T19:15:03Z
- Age in days: 874
- Modified at: 2026-06-17T07:32:28Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-33869
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Hackerone
- Reports: 1
- Rank: 5211
References
| Url | Source | Tags |
|---|---|---|
| https://bugs.ghostscript.com/show_bug.cgi?id=707691 | nvd | Issue Tracking |
| https://www.openwall.com/lists/oss-security/2024/06/28/2 | nvd | Mailing List |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| artifex:ghostscript | < 10.03.1 | no | nvd | /v1/products/artifex/ghostscript |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts