Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2019-6116: 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. 1666636: CVE-2019-6116 ghostscript: subroutines within pseudo-operators must themselves be pseudo-operators (700317) CVE-2019-3839: 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. 1673304: CVE-2019-3839 ghostscript: missing attack vector protections for CVE-2019-6116 CVE-2019-3838: 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. 1677581: CVE-2019-3838 ghostscript: forceput in DefineResource is still accessible (700576) CVE-2019-3835: 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. 1677588: CVE-2019-3835 ghostscript: superexec operator is available (700585) CVE-2019-14869: 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. 1768911: CVE-2019-14869 ghostscript: -dSAFER escape in .charkeys (701841) CVE-2019-14817: 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. 1744042: CVE-2019-14817 ghostscript: Safer mode bypass by .forceput exposure in .pdfexectoken and other procedures (701450) CVE-2019-14813: 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. 1743737: CVE-2019-14813 ghostscript: Safer mode bypass by .forceput exposure in setsystemparams (701443) CVE-2019-14812: 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. 1743754: CVE-2019-14812 ghostscript: Safer mode bypass by .forceput exposure in setuserparams (701444) CVE-2019-14811: 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. 1743757: CVE-2019-14811 ghostscript: Safer mode bypass by .forceput exposure in .pdf_hook_DSC_Creator (701445) CVE-2018-19477: psi/zfjbig2.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because of a JBIG2Decode type confusion. 1654468: CVE-2018-19477 ghostscript: access bypass in psi/zfjbig2.c (700168) CVE-2018-19476: psi/zicc.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because of a setcolorspace type confusion. 1654464: CVE-2018-19476 ghostscript: access bypass in psi/zicc.c (700169) CVE-2018-19475: 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. 1654459: CVE-2018-19475 ghostscript: access bypass in psi/zdevice2.c (700153) CVE-2018-19409: An issue was discovered in Artifex Ghostscript before 9.26. LockSafetyParams is not checked correctly if another device is used. 1652583: CVE-2018-19409 ghostscript: Improperly implemented security check in zsetdevice function in psi/zdevice.c CVE-2018-19134: 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. 1655599: CVE-2018-19134 ghostscript: Type confusion in setpattern (700141) CVE-2018-18284: Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving the 1Policy operator. 1642940: CVE-2018-18284 ghostscript: 1Policy operator allows a sandbox protection bypass CVE-2018-18073: 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. 1642584: CVE-2018-18073 ghostscript: Saved execution stacks can leak operator arrays CVE-2018-17961: 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-
Fixed packages 7
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | ghostscript | 0:9.25-5.amzn2 |
| Amazon Linux · 2 | ghostscript-cups | 0:9.25-5.amzn2 |
| Amazon Linux · 2 | ghostscript-debuginfo | 0:9.25-5.amzn2 |
| Amazon Linux · 2 | ghostscript-doc | 0:9.25-5.amzn2 |
| Amazon Linux · 2 | ghostscript-gtk | 0:9.25-5.amzn2 |
| Amazon Linux · 2 | libgs | 0:9.25-5.amzn2 |
| Amazon Linux · 2 | libgs-devel | 0:9.25-5.amzn2 |
Vulnerabilities 18
-
High 7.3CVE-2019-14811 Public exploit
A flaw was found in, ghostscript versions prior to 9.50, in the .pdf_hook_DSC_Creator procedure where it did not proper…
-
High 7.3
A flaw was found in all ghostscript versions 9.x before 9.50, in the .setuserparams2 procedure where it did not properl…
-
High 7.3CVE-2019-14813 EPSS 11%
A flaw was found in ghostscript, versions 9.x before 9.50, in the setsystemparams procedure where it did not properly s…
-
High 7.3
A flaw was found in, ghostscript versions prior to 9.50, in the .pdfexectoken and other procedures where it did not pro…
-
High 7.3
A flaw was found in all versions of ghostscript 9.x before 9.50, where the `.charkeys` procedure, where it did not prop…
-
High 7.3
It was found that the superexec operator was available in the internal dictionary in ghostscript before 9.27. A special…
-
High 7.3
It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9.27. A…
-
High 7.3
It was found that in ghostscript some privileged operators remained accessible from various places after the CVE-2019-6…
-
Unscored —
Artifex Ghostscript before 9.25 allowed a user-writable error exception table, which could be used by remote attackers …
-
Unscored —CVE-2018-17961 Public exploit
Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving er…
-
Unscored —
Artifex Ghostscript allows attackers to bypass a sandbox protection mechanism by leveraging exposure of system operator…
-
Unscored —CVE-2018-18284 EPSS 16%
Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving th…
-
Unscored —
In Artifex Ghostscript through 9.25, the setpattern operator did not properly validate certain types. A specially craft…
-
Unscored —
An issue was discovered in Artifex Ghostscript before 9.26. LockSafetyParams is not checked correctly if another device…
-
Unscored —
psi/zdevice2.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions becaus…
-
Unscored —
psi/zicc.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because of…
-
Unscored —
psi/zfjbig2.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because…
-
Unscored —
In Artifex Ghostscript through 9.26, ephemeral or transient procedures can allow access to system operators, leading to…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2018-17183.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2018-17961.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2018-18073.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2018-18284.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2018-19134.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2018-19409.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2018-19475.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2018-19476.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2018-19477.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2019-14811.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2019-14812.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2019-14813.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2019-14817.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2019-14869.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2019-3835.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2019-3838.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2019-3839.html
-
web
https://alas.aws.amazon.com/cve/html/CVE-2019-6116.html