An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "9.50~dfsg-5ubuntu4.14", "binary_name": "ghostscript" }, { "binary_version": "9.50~dfsg-5ubuntu4.14", "binary_name": "ghostscript-dbg" }, { "binary_version": "9.50~dfsg-5ubuntu4.14", "binary_name": "ghostscript-doc" }, { "binary_version": "9.50~dfsg-5ubuntu4.14", "binary_name": "ghostscript-x" }, { "binary_version": "9.50~dfsg-5ubuntu4.14", "binary_name": "libgs-dev" }, { "binary_version": "9.50~dfsg-5ubuntu4.14", "binary_name": "libgs9" }, { "binary_version": "9.50~dfsg-5ubuntu4.14", "binary_name": "libgs9-common" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "9.55.0~dfsg1-0ubuntu5.10", "binary_name": "ghostscript" }, { "binary_version": "9.55.0~dfsg1-0ubuntu5.10", "binary_name": "ghostscript-dbgsym" }, { "binary_version": "9.55.0~dfsg1-0ubuntu5.10", "binary_name": "ghostscript-doc" }, { "binary_version": "9.55.0~dfsg1-0ubuntu5.10", "binary_name": "ghostscript-x" }, { "binary_version": "9.55.0~dfsg1-0ubuntu5.10", "binary_name": "ghostscript-x-dbgsym" }, { "binary_version": "9.55.0~dfsg1-0ubuntu5.10", "binary_name": "libgs-dev" }, { "binary_version": "9.55.0~dfsg1-0ubuntu5.10", "binary_name": "libgs9" }, { "binary_version": "9.55.0~dfsg1-0ubuntu5.10", "binary_name": "libgs9-common" }, { "binary_version": "9.55.0~dfsg1-0ubuntu5.10", "binary_name": "libgs9-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "10.03.1~dfsg1-0ubuntu2.1", "binary_name": "ghostscript" }, { "binary_version": "10.03.1~dfsg1-0ubuntu2.1", "binary_name": "ghostscript-dbgsym" }, { "binary_version": "10.03.1~dfsg1-0ubuntu2.1", "binary_name": "ghostscript-doc" }, { "binary_version": "10.03.1~dfsg1-0ubuntu2.1", "binary_name": "libgs-common" }, { "binary_version": "10.03.1~dfsg1-0ubuntu2.1", "binary_name": "libgs-dev" }, { "binary_version": "10.03.1~dfsg1-0ubuntu2.1", "binary_name": "libgs10" }, { "binary_version": "10.03.1~dfsg1-0ubuntu2.1", "binary_name": "libgs10-common" }, { "binary_version": "10.03.1~dfsg1-0ubuntu2.1", "binary_name": "libgs10-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "10.02.1~dfsg1-0ubuntu7.4", "binary_name": "ghostscript" }, { "binary_version": "10.02.1~dfsg1-0ubuntu7.4", "binary_name": "ghostscript-dbgsym" }, { "binary_version": "10.02.1~dfsg1-0ubuntu7.4", "binary_name": "ghostscript-doc" }, { "binary_version": "10.02.1~dfsg1-0ubuntu7.4", "binary_name": "libgs-common" }, { "binary_version": "10.02.1~dfsg1-0ubuntu7.4", "binary_name": "libgs-dev" }, { "binary_version": "10.02.1~dfsg1-0ubuntu7.4", "binary_name": "libgs10" }, { "binary_version": "10.02.1~dfsg1-0ubuntu7.4", "binary_name": "libgs10-common" }, { "binary_version": "10.02.1~dfsg1-0ubuntu7.4", "binary_name": "libgs10-dbgsym" } ] }