Name | CVE-2019-14869 |
Description | A flaw was found in all versions of ghostscript 9.x before 9.50, where 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1992-1, DSA-4569-1 |
Debian Bugs | 944760 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ghostscript (PTS) | jessie, jessie (lts) | 9.26a~dfsg-0+deb8u12 | fixed |
stretch (security) | 9.26a~dfsg-0+deb9u9 | fixed | |
stretch (lts), stretch | 9.26a~dfsg-0+deb9u12 | fixed | |
buster (security), buster, buster (lts) | 9.27~dfsg-2+deb10u9 | fixed | |
bullseye | 9.53.3~dfsg-7+deb11u7 | fixed | |
bullseye (security) | 9.53.3~dfsg-7+deb11u8 | fixed | |
bookworm | 10.0.0~dfsg-11+deb12u5 | fixed | |
bookworm (security) | 10.0.0~dfsg-11+deb12u6 | fixed | |
sid, trixie | 10.04.0~dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ghostscript | source | wheezy | (unfixed) | end-of-life | ||
ghostscript | source | jessie | 9.26a~dfsg-0+deb8u6 | DLA-1992-1 | ||
ghostscript | source | stretch | 9.26a~dfsg-0+deb9u6 | DSA-4569-1 | ||
ghostscript | source | buster | 9.27~dfsg-2+deb10u3 | DSA-4569-1 | ||
ghostscript | source | (unstable) | 9.50~dfsg-3 | 944760 |
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=485904772c5f0aa1140032746e5a0abfc40f4cef
https://bugs.ghostscript.com/show_bug.cgi?id=701841
https://bugzilla.redhat.com/show_bug.cgi?id=1768911
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.