Vulnerability Name:

CVE-2021-37220 (CCN-206319)

Assigned:2021-04-27
Published:2021-04-27
Updated:2021-11-28
Summary:MuPDF through 1.18.1 has an out-of-bounds write because the cached color converter does not properly consider the maximum key size of a hash table. This can, for example, be seen with crafted "mutool draw" input.
CVSS v3 Severity:5.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)
4.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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): None
Integrity (I): None
Availibility (A): High
5.5 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)
4.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-787
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2021-37220

Source: CCN
Type: mupdf GIT Repository
Bug 703791: Stay within hash table max key size in cached color converter.

Source: MISC
Type: Patch, Vendor Advisory
http://git.ghostscript.com/?p=mupdf.git;h=f5712c9949d026e4b891b25837edd2edc166151f

Source: CCN
Type: Bugzilla - Bug 703791
mutool draw crashes with a specific file

Source: MISC
Type: Exploit, Vendor Advisory
https://bugs.ghostscript.com/show_bug.cgi?id=703791

Source: XF
Type: UNKNOWN
mupdf-cve202137220-dos(206319)

Source: FEDORA
Type: Patch, Third Party Advisory
FEDORA-2021-e1d8a99caa

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-37220

Vulnerable Configuration:Configuration 1:
  • cpe:/a:artifex:mupdf:*:*:*:*:*:*:*:* (Version <= 1.18.1)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:artifex:mupdf:1.18.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    artifex mupdf *
    fedoraproject fedora 34
    artifex mupdf 1.18.1