CVE-2019-14813CWE-648

A flaw was found in ghostscript, versions 9.x before 9.50, in the setsystemparams procedure where it did not properly secure its privileged calls, enabling…

High · published September 6, 2019

CVSS v3.0
7.3
EPSS
11%
Percentile
95.9
In the wild
Unconfirmed
What it is

⚡ A sneaky flaw in Ghostscript could let crafty scripts disable security features with just a specially crafted PostScript file! 🔥 Think of it like a bouncer at a club who ignores the VIP list — the privileged calls are the bouncers, and the PostScript file is a party crasher sneaking past them, allowing access to the backstage area where all the secrets hide. An attacker could exploit this vulnerability to bypass the `-dSAFER` restrictions, potentially gaining access to the file system or executing arbitrary commands. This could lead to unauthorized access to sensitive files or even full system compromise — absolutely devastating!

Put simply

Think of it like a bouncer at a club who ignores the VIP list — the privileged calls are the bouncers, and the PostScript file is a party crasher sneaking past them, allowing access to the backstage area where all the secrets hide. The flaw in Ghostscript's `setsystemparams` procedure fails to secure its privileged calls, allowing attackers to craft PostScript files that disable security protections.

What to do

An attacker could exploit this vulnerability to bypass the `-dSAFER` restrictions, potentially gaining access to the file system or executing arbitrary commands. This could lead to unauthorized access to sensitive files or even full system compromise — absolutely devastating! To remediate this issue, upgrade Ghostscript to version 9.50 or later immediately. It's also wise to audit your usage of PostScript files and ensure that security parameters are being enforced correctly. You've got this! Patch up and secure your systems like a pro! 🛡️

The record
Technical detail
CVSS v3.0
7.3 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.10963 · 95.9th percentile
Weakness
CWE-648 · Incorrect Use of Privileged APIs
Published
2019-09-06T13:27Z
EPSS history
Timeline
  • 06 SEP 13:27Z
    A flaw was found in ghostscript, versions 9.x before 9.50, in the setsystemparams procedure where it did not properly secure its privileged calls, enabling…
    cvelistv5