SB2018091604 - Debian update for ghostscript
Published: September 16, 2018 Updated: March 18, 2019
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) OS command injection (CVE-ID: CVE-2018-16509)
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to /invalidaccess checks can be bypassed after a restore failure. A remote unauthenticated attacker can trick the victim into opening a specially crafted PostScript file that submits malicious input and execute arbitrary shell commands.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Note: original fix for this vulnerability was incomplete in version 9.24. Vendor has issued another patch.
2) Stack-based buffer overflow (CVE-ID: CVE-2018-16802)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to incorrect "restoration of privilege" checking when running out of stack during exception handling. A remote unauthenticated attacker can supply specially crafted PostScript, trigger memory corruption and execute code using the "pipe" instruction.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Note: the vulnerability exists due to an incomplete fix for CVE-2018-16509.
Remediation
Install update from vendor's website.