Vulnerability Name:

CVE-2018-19134 (CCN-154427)

Assigned:2018-11-20
Published:2018-11-20
Updated:2019-01-11
Summary:In Artifex Ghostscript through 9.25, the setpattern operator did not properly validate certain types. A specially crafted PostScript document could exploit this to crash Ghostscript or, possibly, execute arbitrary code in the context of the Ghostscript process. This is a type confusion issue because of failure to check whether the Implementation of a pattern dictionary was a structure type.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
7.3 High (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.3 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-704
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2018-19134

Source: CCN
Type: ghostpdl GIT Repository
PS interpreter - check the Implementation of a Pattern before use

Source: CONFIRM
Type: Patch, Third Party Advisory
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=693baf02152119af6e6afd30bb8ec76d14f84bbf

Source: BID
Type: Third Party Advisory, VDB Entry
106278

Source: REDHAT
Type: Third Party Advisory
RHSA-2018:3834

Source: CONFIRM
Type: Issue Tracking, Permissions Required, Third Party Advisory
https://bugs.ghostscript.com/show_bug.cgi?id=700141

Source: CCN
Type: Red Hat Bugzilla – Bug 1655599
CVE-2018-19134 ghostscript: Type confusion in setpattern (700141)

Source: XF
Type: UNKNOWN
artifex-cve201819134-code-exec(154427)

Source: MLIST
Type: Third Party Advisory
[debian-lts-announce] 20181227 [SECURITY] [DLA 1620-1] ghostscript security update

Source: MISC
Type: Exploit, Third Party Advisory
https://semmle.com/news/semmle-discovers-severe-vulnerability-ghostscript-postscript-pdf

Source: CONFIRM
Type: Release Notes
https://www.ghostscript.com/doc/9.26/News.htm

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-19134

Vulnerable Configuration:Configuration 1:
  • cpe:/a:artifex:ghostscript:*:*:*:*:*:*:*:* (Version <= 9.25)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:8.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:7::client:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:7::computenode:*:*:*:*:*

  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:7::server:*:*:*:*:*

  • Configuration RedHat 5:
  • cpe:/o:redhat:enterprise_linux:7::workstation:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:artifex:ghostscript:9.25:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:2018191340000000
    V
    CVE-2018-19134 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-12-20
    oval:com.ubuntu.xenial:def:201819134000
    V
    CVE-2018-19134 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-12-20
    oval:com.ubuntu.bionic:def:201819134000
    V
    CVE-2018-19134 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-12-20
    oval:com.ubuntu.cosmic:def:2018191340000000
    V
    CVE-2018-19134 on Ubuntu 18.10 (cosmic) - medium.
    2018-12-20
    oval:com.ubuntu.cosmic:def:201819134000
    V
    CVE-2018-19134 on Ubuntu 18.10 (cosmic) - medium.
    2018-12-20
    oval:com.ubuntu.bionic:def:2018191340000000
    V
    CVE-2018-19134 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-12-20
    oval:com.ubuntu.trusty:def:201819134000
    V
    CVE-2018-19134 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-12-20
    oval:com.redhat.rhsa:def:20183834
    P
    RHSA-2018:3834: ghostscript security and bug fix update (Important)
    2018-12-17
    BACK
    artifex ghostscript *
    debian debian linux 8.0
    redhat enterprise linux desktop 7.0
    redhat enterprise linux server 7.0
    redhat enterprise linux server aus 7.6
    redhat enterprise linux server eus 7.6
    redhat enterprise linux workstation 7.0
    artifex ghostscript 9.25