| Name | CVE-2019-14812 |
| Description | A flaw was found in all ghostscript versions 9.x before 9.50, 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1915-1, DSA-4518-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ghostscript (PTS) | bullseye | 9.53.3~dfsg-7+deb11u7 | fixed |
| bullseye (security) | 9.53.3~dfsg-7+deb11u11 | fixed | |
| bookworm | 10.0.0~dfsg-11+deb12u7 | fixed | |
| bookworm (security) | 10.0.0~dfsg-11+deb12u8 | fixed | |
| trixie | 10.05.1~dfsg-1 | fixed | |
| trixie (security) | 10.05.1~dfsg-1+deb13u1 | fixed | |
| forky | 10.05.1~dfsg-3 | fixed | |
| sid | 10.06.0~dfsg-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ghostscript | source | jessie | 9.26a~dfsg-0+deb8u5 | DLA-1915-1 | ||
| ghostscript | source | stretch | 9.26a~dfsg-0+deb9u5 | DSA-4518-1 | ||
| ghostscript | source | buster | 9.27~dfsg-2+deb10u2 | DSA-4518-1 | ||
| ghostscript | source | (unstable) | 9.28~~rc2~dfsg-1 |
https://bugs.ghostscript.com/show_bug.cgi?id=701444
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=885444fcbe10dc42787ecb76686c8ee4dd33bf33
https://www.openwall.com/lists/oss-security/2019/08/28/2
For recent versions (9.28~~rc1~dfsg-1) the issue is mitigated starting
from https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7ecbfda92b4c8dbf6f6c2bf8fc82020a29219eff
which changed the access to file permissions.