Vulnerability Name:

CVE-2021-45949 (CCN-216512)

Assigned:2021-05-26
Published:2021-05-26
Updated:2022-01-21
Summary:Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and interp).
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-45949

Source: CCN
Type: Google Security Research Issue 34675
ghostscript:gstoraster_fuzzer: Heap-buffer-overflow in sampled_data_finish

Source: MISC
Type: Exploit, Issue Tracking, Third Party Advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34675

Source: XF
Type: UNKNOWN
ghostscript-cve202145949-dos(216512)

Source: CCN
Type: GhostPDL GIT Repository
Bug 703902: Fix op stack management in sampled_data_continue()

Source: MISC
Type: Patch, Third Party Advisory
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=2a3129365d3bc0d4a41f107ef175920d1505d1f7

Source: MISC
Type: Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ghostscript/OSV-2021-803.yaml

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20220114 [SECURITY] [DLA 2879-1] ghostscript security update

Source: DEBIAN
Type: Third Party Advisory
DSA-5038

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

Vulnerable Configuration:Configuration 1:
  • cpe:/a:artifex:ghostscript:*:*:*:*:*:*:*:* (Version >= 9.50 and <= 9.54.0)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:11.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7505
    P
    ghostscript-9.52-150000.164.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3751
    P
    perl-XML-LibXML-2.0019-6.3.5 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:2930
    P
    ghostscript-9.52-161.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94560
    P
    ghostscript-9.52-161.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:119154
    P
    Security update for ghostscript (Moderate)
    2022-02-14
    oval:org.opensuse.security:def:101667
    P
    Security update for ghostscript (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:73962
    P
    Security update for ghostscript (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:111878
    P
    Security update for ghostscript (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:64840
    P
    Security update for ghostscript (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:975
    P
    Security update for ghostscript (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:76460
    P
    Security update for ghostscript (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:112289
    P
    ghostscript-9.54.0-3.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:67392
    P
    Security update for ghostscript (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:6303
    P
    Security update for ghostscript (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:5364
    P
    Security update for ghostscript (Moderate)
    2022-01-14
    oval:org.opensuse.security:def:34683
    P
    Security update for ghostscript (Moderate)
    2022-01-14
    oval:org.opensuse.security:def:6189
    P
    Security update for ghostscript (Moderate)
    2022-01-14
    oval:org.opensuse.security:def:58942
    P
    Security update for ghostscript (Moderate)
    2022-01-14
    oval:org.opensuse.security:def:26228
    P
    Security update for ghostscript (Moderate)
    2022-01-14
    oval:org.opensuse.security:def:87583
    P
    Security update for ghostscript (Moderate)
    2022-01-14
    oval:org.opensuse.security:def:60506
    P
    Security update for ghostscript (Moderate)
    2022-01-14
    oval:org.opensuse.security:def:33119
    P
    Security update for ghostscript (Moderate)
    2022-01-14
    BACK
    artifex ghostscript *
    debian debian linux 9.0
    debian debian linux 10.0
    debian debian linux 11.0