USN-6835-1: Ghostscript vulnerabilities
17 June 2024
Several security issues were fixed in Ghostscript.
Releases
Packages
- ghostscript - PostScript and PDF interpreter
Details
It was discovered that Ghostscript did not properly restrict eexec
seeds to those specified by the Type 1 Font Format standard when
SAFER mode is used. An attacker could use this issue to bypass SAFER
restrictions and cause unspecified impact. (CVE-2023-52722)
This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 23.10.
Thomas Rinsma discovered that Ghostscript did not prevent changes to
uniprint device argument strings after SAFER is activated, resulting
in a format-string vulnerability. An attacker could possibly use this
to execute arbitrary code. (CVE-2024-29510)
Zdenek Hutyra discovered that Ghostscript did not properly perform
path reduction when validating paths. An attacker could use this to
access file locations outside of those allowed by SAFER policy and
possibly execute arbitrary code. (CVE-2024-33869)
Zdenek Hutyra discovered that Ghostscript did not properly check
arguments when reducing paths. An attacker could use this to
access file locations outside of those allowed by SAFER policy.
(CVE-2024-33870)
Zdenek Hutyra discovered that the "Driver" parameter for Ghostscript's
"opvp"/"oprp" device allowed specifying the name of an arbitrary dynamic
library to load. An attacker could use this to execute arbitrary code.
(CVE-2024-33871)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.04
-
ghostscript
-
10.02.1~dfsg1-0ubuntu7.1
-
ghostscript-doc
-
10.02.1~dfsg1-0ubuntu7.1
-
libgs-common
-
10.02.1~dfsg1-0ubuntu7.1
-
libgs-dev
-
10.02.1~dfsg1-0ubuntu7.1
-
libgs10
-
10.02.1~dfsg1-0ubuntu7.1
-
libgs10-common
-
10.02.1~dfsg1-0ubuntu7.1
Ubuntu 23.10
-
ghostscript
-
10.01.2~dfsg1-0ubuntu2.3
-
ghostscript-doc
-
10.01.2~dfsg1-0ubuntu2.3
-
ghostscript-x
-
10.01.2~dfsg1-0ubuntu2.3
-
libgs-common
-
10.01.2~dfsg1-0ubuntu2.3
-
libgs-dev
-
10.01.2~dfsg1-0ubuntu2.3
-
libgs10
-
10.01.2~dfsg1-0ubuntu2.3
-
libgs10-common
-
10.01.2~dfsg1-0ubuntu2.3
-
libgs9-common
-
10.01.2~dfsg1-0ubuntu2.3
Ubuntu 22.04
-
ghostscript
-
9.55.0~dfsg1-0ubuntu5.7
-
ghostscript-doc
-
9.55.0~dfsg1-0ubuntu5.7
-
ghostscript-x
-
9.55.0~dfsg1-0ubuntu5.7
-
libgs-dev
-
9.55.0~dfsg1-0ubuntu5.7
-
libgs9
-
9.55.0~dfsg1-0ubuntu5.7
-
libgs9-common
-
9.55.0~dfsg1-0ubuntu5.7
Ubuntu 20.04
-
ghostscript
-
9.50~dfsg-5ubuntu4.12
-
ghostscript-doc
-
9.50~dfsg-5ubuntu4.12
-
ghostscript-x
-
9.50~dfsg-5ubuntu4.12
-
libgs-dev
-
9.50~dfsg-5ubuntu4.12
-
libgs9
-
9.50~dfsg-5ubuntu4.12
-
libgs9-common
-
9.50~dfsg-5ubuntu4.12
In general, a standard system update will make all the necessary changes.