Vulnerability Name:

CVE-2019-9878 (CCN-158971)

Assigned:2019-03-13
Published:2019-03-13
Updated:2021-07-21
Summary:There is an invalid memory access in the function GfxIndexedColorSpace::mapColorToBase() located in GfxState.cc in Xpdf 4.0.0, as used in pdfalto 0.2. It can be triggered by (for example) sending a crafted pdf file to the pdftops binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.
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.9 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:U/RC:R)
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
3.3 Low (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)
2.9 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:U/RC:R)
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): None
Integrity (I): None
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
1.7 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-119
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2019-9878

Source: XF
Type: UNKNOWN
pdfalto-cve20199878-dos(158971)

Source: CCN
Type: pdfalto GIT Repository
invalid memory access in GfxIndexedColorSpace::mapColorToBase( ) #46

Source: MISC
Type: Third Party Advisory
https://github.com/kermitt2/pdfalto/issues/46

Source: MISC
Type: Exploit, Third Party Advisory
https://research.loginsoft.com/bugs/invalid-memory-access-in-gfxindexedcolorspacemapcolortobase-pdfalto-0-2/

Source: CCN
Type: Loginsoft Web site
ColorToBase( ) -pdfalto-0.2 Invalid memory access in GfxIndexedColorSpace::mapColorToBase( )

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2019-9878

Vulnerable Configuration:Configuration 1:
  • cpe:/a:pdfalto_project:pdfalto:0.2:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:xpdfreader:xpdf:4.0.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:pdfalto_project:pdfalto:0.2:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.disco:def:201998780000000
    V
    CVE-2019-9878 on Ubuntu 19.04 (disco) - medium.
    2019-03-21
    oval:com.ubuntu.bionic:def:20199878000
    V
    CVE-2019-9878 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-03-21
    oval:com.ubuntu.cosmic:def:201998780000000
    V
    CVE-2019-9878 on Ubuntu 18.10 (cosmic) - medium.
    2019-03-21
    oval:com.ubuntu.cosmic:def:20199878000
    V
    CVE-2019-9878 on Ubuntu 18.10 (cosmic) - medium.
    2019-03-21
    oval:com.ubuntu.bionic:def:201998780000000
    V
    CVE-2019-9878 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-03-21
    oval:com.ubuntu.trusty:def:20199878000
    V
    CVE-2019-9878 on Ubuntu 14.04 LTS (trusty) - medium.
    2019-03-21
    oval:com.ubuntu.xenial:def:201998780000000
    V
    CVE-2019-9878 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-03-21
    oval:com.ubuntu.xenial:def:20199878000
    V
    CVE-2019-9878 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-03-21
    BACK
    pdfalto_project pdfalto 0.2
    xpdfreader xpdf 4.0.0
    pdfalto_project pdfalto 0.2