CVE-2010-2055
ghostscript: gs_init.ps searched in current directory despite -P-
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
3Exploited in Wild
-Decision
Descriptions
Ghostscript 8.71 and earlier reads initialization files from the current working directory, which allows local users to execute arbitrary PostScript commands via a Trojan horse file, related to improper support for the -P- option to the gs program, as demonstrated using gs_init.ps, a different vulnerability than CVE-2010-4820.
Ghostscript v8.71 y versiones anteriores, lee los ficheros de inicialización desde el directorio de trabajo actual, lo que permite a usuarios locales ejecutar comandos PostScript de su elección a través de un archivo "Trojan horse" (Caballo de Troya"), relacionado con el soporte inapropiado para la opción -P del programa.
Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures and an interpreter for Portable Document Format files. An integer overflow flaw was found in Ghostscript's TrueType bytecode interpreter. An attacker could create a specially-crafted PostScript or PDF file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. It was found that Ghostscript always tried to read Ghostscript system initialization files from the current working directory before checking other directories, even if a search path that did not contain the current working directory was specified with the "-I" option, or the "-P-" option was used. If a user ran Ghostscript in an attacker-controlled directory containing a system initialization file, it could cause Ghostscript to execute arbitrary PostScript code.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2010-05-25 CVE Reserved
- 2010-07-22 CVE Published
- 2024-08-07 CVE Updated
- 2024-08-07 First Exploit
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-17: DEPRECATED: Code
CAPEC
References (22)
URL | Tag | Source |
---|---|---|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583183 | X_refsource_confirm | |
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583316 | X_refsource_confirm | |
http://bugs.ghostscript.com/show_bug.cgi?id=691350 | X_refsource_confirm | |
http://savannah.gnu.org/forum/forum.php?forum_id=6368 | X_refsource_confirm | |
http://www.osvdb.org/66247 | Vdb Entry | |
http://www.securityfocus.com/archive/1/511433 | Mailing List | |
http://www.securityfocus.com/archive/1/511476 | Mailing List | |
https://bugzilla.novell.com/show_bug.cgi?id=608071 | X_refsource_confirm |
URL | Date | SRC |
---|---|---|
http://bugs.ghostscript.com/show_bug.cgi?id=691339 | 2024-08-07 | |
http://www.securityfocus.com/archive/1/511472 | 2024-08-07 | |
http://www.securityfocus.com/archive/1/511474 | 2024-08-07 |
URL | Date | SRC |
---|---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=599564 | 2012-02-02 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 6.0 Search vendor "Artifex" for product "Afpl Ghostscript" and version "6.0" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 6.01 Search vendor "Artifex" for product "Afpl Ghostscript" and version "6.01" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 6.50 Search vendor "Artifex" for product "Afpl Ghostscript" and version "6.50" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 7.00 Search vendor "Artifex" for product "Afpl Ghostscript" and version "7.00" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 7.03 Search vendor "Artifex" for product "Afpl Ghostscript" and version "7.03" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 7.04 Search vendor "Artifex" for product "Afpl Ghostscript" and version "7.04" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 8.00 Search vendor "Artifex" for product "Afpl Ghostscript" and version "8.00" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 8.11 Search vendor "Artifex" for product "Afpl Ghostscript" and version "8.11" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 8.12 Search vendor "Artifex" for product "Afpl Ghostscript" and version "8.12" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 8.13 Search vendor "Artifex" for product "Afpl Ghostscript" and version "8.13" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 8.14 Search vendor "Artifex" for product "Afpl Ghostscript" and version "8.14" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 8.50 Search vendor "Artifex" for product "Afpl Ghostscript" and version "8.50" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 8.51 Search vendor "Artifex" for product "Afpl Ghostscript" and version "8.51" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 8.52 Search vendor "Artifex" for product "Afpl Ghostscript" and version "8.52" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 8.53 Search vendor "Artifex" for product "Afpl Ghostscript" and version "8.53" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Afpl Ghostscript Search vendor "Artifex" for product "Afpl Ghostscript" | 8.54 Search vendor "Artifex" for product "Afpl Ghostscript" and version "8.54" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Ghostscript Fonts Search vendor "Artifex" for product "Ghostscript Fonts" | 6.0 Search vendor "Artifex" for product "Ghostscript Fonts" and version "6.0" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Ghostscript Fonts Search vendor "Artifex" for product "Ghostscript Fonts" | 8.11 Search vendor "Artifex" for product "Ghostscript Fonts" and version "8.11" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | <= 8.71 Search vendor "Artifex" for product "Gpl Ghostscript" and version " <= 8.71" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.01 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.01" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.15 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.15" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.50 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.50" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.51 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.51" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.54 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.54" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.56 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.56" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.57 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.57" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.60 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.60" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.61 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.61" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.62 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.62" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.63 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.63" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.64 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.64" | - |
Affected
| ||||||
Artifex Search vendor "Artifex" | Gpl Ghostscript Search vendor "Artifex" for product "Gpl Ghostscript" | 8.70 Search vendor "Artifex" for product "Gpl Ghostscript" and version "8.70" | - |
Affected
|