Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2021-1598

Active Important

ALAS2-2021-1598 (important): ghostscript

Published
20 Feb 2021
Updated
20 Feb 2021

Related CVEs

CVE identifiers linked by this publisher.

18
Publisher relationship details 18 records

Description

Artifex Ghostscript before 9.25 allowed a user-writable error exception table, which could be used by remote attackers able to supply crafted PostScript to potentially overwrite or replace error handlers to inject code. (CVE-2018-17183) Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving

Read full publisher description 4710 characters

Artifex Ghostscript before 9.25 allowed a user-writable error exception table, which could be used by remote attackers able to supply crafted PostScript to potentially overwrite or replace error handlers to inject code. (CVE-2018-17183) Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving errorhandler setup. NOTE: this issue exists because of an incomplete fix for CVE-2018-17183. (CVE-2018-17961) Artifex Ghostscript allows attackers to bypass a sandbox protection mechanism by leveraging exposure of system operators in the saved execution stack in an error object. (CVE-2018-18073) Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving the 1Policy operator. (CVE-2018-18284) 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. (CVE-2018-19134) An issue was discovered in Artifex Ghostscript before 9.26. LockSafetyParams is not checked correctly if another device is used. (CVE-2018-19409) psi/zdevice2.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because available stack space is not checked when the device remains the same. (CVE-2018-19475) psi/zicc.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because of a setcolorspace type confusion. (CVE-2018-19476) psi/zfjbig2.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because of a JBIG2Decode type confusion. (CVE-2018-19477) A flaw was found in the .pdf_hook_DSC_Creator procedure where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. A specially crafted PostScript file could disable security protection and then have access to the file system, or execute arbitrary commands. (CVE-2019-14811) A flaw was found in the .setuserparams2 procedure where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. A specially crafted PostScript file could disable security protection and then have access to the file system, or execute arbitrary commands. (CVE-2019-14812) A flaw was found in the setsystemparams procedure where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. A specially crafted PostScript file could disable security protection and then have access to the file system, or execute arbitrary commands. (CVE-2019-14813) A flaw was found in the .pdfexectoken and other procedures where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. A specially crafted PostScript file could disable security protection and then have access to the file system, or execute arbitrary commands. (CVE-2019-14817) A flaw was found in the `.charkeys` procedure, where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges within the Ghostscript and access files outside of restricted areas or execute commands. (CVE-2019-14869) It was found that the superexec operator was available in the internal dictionary. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER. (CVE-2019-3835) It was found that the forceput operator could be extracted from the DefineResource method. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER. (CVE-2019-3838) It was found that some privileged operators remained accessible from various places after the CVE-2019-6116 fix. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER. (CVE-2019-3839) It was found that ghostscript could leak sensitive operators on the operand stack when a pseudo-operator pushes a subroutine. A specially crafted PostScript file could use this flaw to escape the -dSAFER protection in order to, for example, have access to the file system outside of the SAFER constraints. (CVE-2019-6116)

Solution

Run yum update ghostscript or yum update --advisory ALAS2-2021-1598 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

5

Shared package data

Applies to all 5 occurrences
  1. 1ghostscript

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • ghostscript-9.25-5.amzn2.aarch64
    • libgs-9.25-5.amzn2.aarch64
    • libgs-devel-9.25-5.amzn2.aarch64
    • ghostscript-gtk-9.25-5.amzn2.aarch64
    • ghostscript-cups-9.25-5.amzn2.aarch64
    • ghostscript-debuginfo-9.25-5.amzn2.aarch64
  2. 2ghostscript

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • ghostscript-9.25-5.amzn2.i686
    • libgs-9.25-5.amzn2.i686
    • libgs-devel-9.25-5.amzn2.i686
    • ghostscript-gtk-9.25-5.amzn2.i686
    • ghostscript-cups-9.25-5.amzn2.i686
    • ghostscript-debuginfo-9.25-5.amzn2.i686
  3. 3ghostscript

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • ghostscript-doc-9.25-5.amzn2.noarch
  4. 4ghostscript

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • ghostscript-9.25-5.amzn2.src
  5. 5ghostscript

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • ghostscript-9.25-5.amzn2.x86_64
    • libgs-9.25-5.amzn2.x86_64
    • libgs-devel-9.25-5.amzn2.x86_64
    • ghostscript-gtk-9.25-5.amzn2.x86_64
    • ghostscript-cups-9.25-5.amzn2.x86_64
    • ghostscript-debuginfo-9.25-5.amzn2.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

36
  • CVE-2018-17183 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-17183
  • CVE-2018-17961 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-17961
  • CVE-2018-18073 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-18073
  • CVE-2018-18284 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-18284
  • CVE-2018-19134 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-19134
  • CVE-2018-19409 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-19409
  • CVE-2018-19475 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-19475
  • CVE-2018-19476 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-19476
  • CVE-2018-19477 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-19477
  • CVE-2019-14811 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-14811
  • CVE-2019-14812 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-14812
  • CVE-2019-14813 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-14813
  • CVE-2019-14817 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-14817
  • CVE-2019-14869 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-14869
  • CVE-2019-3835 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-3835
  • CVE-2019-3838 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-3838
  • CVE-2019-3839 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-3839
  • CVE-2019-6116 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-6116
  • CVE-2018-17183 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17183
  • CVE-2018-17961 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17961
  • CVE-2018-18073 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18073
  • CVE-2018-18284 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18284
  • CVE-2018-19134 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19134
  • CVE-2018-19409 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19409
  • CVE-2018-19475 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19475
  • CVE-2018-19476 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19476
  • CVE-2018-19477 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19477
  • CVE-2019-14811 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14811
  • CVE-2019-14812 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14812
  • CVE-2019-14813 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14813
  • CVE-2019-14817 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14817
  • CVE-2019-14869 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14869
  • CVE-2019-3835 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3835
  • CVE-2019-3838 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3838
  • CVE-2019-3839 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3839
  • CVE-2019-6116 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6116

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2021-1598.htmlUnknown3d4dd0c62cc2090b75d848e9eda72e6134e8f13bc2a15f583a789d38cf640985amazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2021-1598.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2021-1598.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected