7.8
HIGH
CVE-2018-16863
Red Hat Enterprise Linux Ghostscript Shell Command Injection
Description

It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document. This only affects ghostscript 9.07 as shipped with Red Hat Enterprise Linux 7.

INFO

Published Date :

Dec. 3, 2018, 5:29 p.m.

Last Modified :

Feb. 12, 2023, 11:32 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2018-16863 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
4 Redhat enterprise_linux_server_aus
5 Redhat enterprise_linux_server_eus
6 Redhat enterprise_linux_server_tus
1 Artifex ghostscript
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-16863 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-16863 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 12, 2023

    Action Type Old Value New Value
    Changed Description It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document. It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document. This only affects ghostscript 9.07 as shipped with Red Hat Enterprise Linux 7.
    Removed Reference https://access.redhat.com/security/cve/CVE-2018-16863 [No Types Assigned]
    Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1652893 [No Types Assigned]
    Added CWE Red Hat, Inc. CWE-184
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Description It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document. This only affects ghostscript 9.07 as shipped with Red Hat Enterprise Linux 7. It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document.
    Removed Reference http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=520bb0ea7519 [Patch, Vendor Advisory]
    Removed Reference http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5516c614dc33 [Patch, Vendor Advisory]
    Removed Reference http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=78911a01b67d [Patch, Vendor Advisory]
    Removed Reference http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=79cccf641486 [Patch, Vendor Advisory]
    Added Reference https://access.redhat.com/security/cve/CVE-2018-16863 [No Types Assigned]
    Added Reference http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=5516c614dc33 [No Types Assigned]
    Added Reference http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=78911a01b67d [No Types Assigned]
    Added Reference http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=79cccf641486 [No Types Assigned]
    Added Reference http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=520bb0ea7519 [No Types Assigned]
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1652893 [No Types Assigned]
    Removed CWE Red Hat, Inc. CWE-184
    Removed CWE Reason CWE-184 / Assessment performed prior to CVMAP efforts
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CVSS V3 Red Hat, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
    Added CWE Red Hat, Inc. CWE-184
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-264 CWE-77 CWE-78
  • Initial Analysis by [email protected]

    Feb. 05, 2019

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 (AV:N/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=520bb0ea7519 No Types Assigned http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=520bb0ea7519 Patch, Vendor Advisory
    Changed Reference Type http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5516c614dc33 No Types Assigned http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5516c614dc33 Patch, Vendor Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16863 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16863 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=79cccf641486 No Types Assigned http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=79cccf641486 Patch, Vendor Advisory
    Changed Reference Type http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=78911a01b67d No Types Assigned http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=78911a01b67d Patch, Vendor Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:3761 No Types Assigned https://access.redhat.com/errata/RHSA-2018:3761 Third Party Advisory
    Added CWE CWE-264
    Added CPE Configuration OR *cpe:2.3:a:artifex:ghostscript:9.07:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Dec. 04, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:3761 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-16863 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.21 }} 0.06%

score

0.58674

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability