Skip to content
OpenAdvisories
High ALAS2-2018-1088 14 CVEs

Important: ghostscript security update (Amazon Linux 2)

Published Oct 8, 2018 · Updated Oct 10, 2018

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2018-16802: An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509. 1627959: CVE-2018-16802 ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling CVE-2018-16585: An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. 1626193: CVE-2018-16585 ghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use CVE-2018-16542: It was discovered that ghostscript did not properly handle certain stack overflow error conditions. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document. 1621363: CVE-2018-16542 ghostscript: .definemodifiedfont memory corruption if /typecheck is handled (699668) CVE-2018-16541: It was discovered that the ghostscript device cleanup did not properly handle devices replaced with a null device. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document. 1625846: CVE-2018-16541 ghostscript: incorrect free logic in pagedevice replacement (699664) CVE-2018-16540: It was discovered that the ghostscript PDF14 compositor did not properly handle the copying of a device. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document. 1625843: CVE-2018-16540 ghostscript: use-after-free in copydevice handling (699661) CVE-2018-16539: It was discovered that the ghostscript did not properly restrict access to files open prior to enabling the -dSAFER mode. An attacker could possibly exploit this to bypass the -dSAFER protection and disclose the content of affected files via a specially crafted PostScript document. 1625839: CVE-2018-16539 ghostscript: incorrect access checking in temp file handling to disclose contents of files (699658) CVE-2018-16513: It was discovered that the ghostscript did not properly validate the operands passed to the setcolor function. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document. 1619750: CVE-2018-16513 ghostscript: setcolor missing type check (699655) CVE-2018-16511: An issue was discovered in Artifex Ghostscript before 9.24. A type confusion in "ztype" could be used by remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. 1621359: CVE-2018-16511 ghostscript: missing type check in type checker (699659) CVE-2018-16509: It was discovered that the ghostscript /invalidaccess checks fail under certain conditions. An attacker could possibly exploit this to bypass the -dSAFER protection and, for example, execute arbitrary shell commands via a specially crafted PostScript document. 1619748: CVE-2018-16509 ghostscript: /invalidaccess bypass after failed restore (699654) CVE-2018-15911: It was discovered that ghostscript did not properly verify the key used in aesdecode. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document. 1625832: CVE-2018-15911 ghostscript: uninitialized memory access in the aesdecode operator (699665) CVE-2018-15910: It was discovered that the type of the LockDistillerParams parameter is not properly verified. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document. 1619751: CVE-2018-15910 ghostscript: LockDistillerParams type confusion (699656) CVE-2018-15909: It was discovered that the ghostscript .shfill operator did not properly validate certain types. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document. 1621361: CVE-2018-15909 ghostscript: shading_param incomplete type checking (699660) CVE-2018-15908: It was discovered that the ghostscript .tempfile function did not properly handle file permissions. An attacker could possibly exploit this to exploit this to bypass the -dSAFER protection and delete files or disclose their content via a specially crafted PostScript document. 1619756: CVE-2018-15908 ghostscript: .tempfile file permission issues (699657) CVE-2018-11645: Ghostscript did not honor the -dSAFER option when executing the "status" instruction, which can be used to retrieve information such as a file's existence and size. A specially crafted postscript document could use this flow to gain information on the targeted system's filesystem content. 1585914: CVE-2018-11645 ghostscript: status command permitted with -dSAFER in psi/zfile.c allowing attackers to identify the size and existence of files

Fixed packages 6

ReleasePackageFixed in
Amazon Linux · 2 ghostscript 0:9.06-8.amzn2.0.5
Amazon Linux · 2 ghostscript-cups 0:9.06-8.amzn2.0.5
Amazon Linux · 2 ghostscript-debuginfo 0:9.06-8.amzn2.0.5
Amazon Linux · 2 ghostscript-devel 0:9.06-8.amzn2.0.5
Amazon Linux · 2 ghostscript-doc 0:9.06-8.amzn2.0.5
Amazon Linux · 2 ghostscript-gtk 0:9.06-8.amzn2.0.5

Vulnerabilities 14

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-11645.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-15908.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-15909.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-15910.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-15911.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-16509.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-16511.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-16513.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-16539.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-16540.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-16541.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-16542.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-16585.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-16802.html