CVE-2019-3838

NameCVE-2019-3838
DescriptionIt was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9.27. 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1761-1, DSA-4432-1
Debian Bugs925257

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ghostscript (PTS)bullseye9.53.3~dfsg-7+deb11u7fixed
bullseye (security)9.53.3~dfsg-7+deb11u9fixed
bookworm10.0.0~dfsg-11+deb12u5fixed
bookworm (security)10.0.0~dfsg-11+deb12u6fixed
sid, trixie10.04.0~dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsourceexperimental9.27~~dc1~dfsg-1
ghostscriptsourcejessie9.26a~dfsg-0+deb8u2DLA-1761-1
ghostscriptsourcestretch9.26a~dfsg-0+deb9u2DSA-4432-1
ghostscriptsource(unstable)9.27~dfsg-1925257

Notes

https://www.openwall.com/lists/oss-security/2019/03/21/1
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ed9fcd95bb01f0768bf273b2526732e381202319
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a82601e8f95a2f2147f3b3b9e44ec2b8f3a6be8b
https://bugs.ghostscript.com/show_bug.cgi?id=700576

Search for package or bug name: Reporting problems