Advisory

USN-6835-1

Also known as: CVE-2023-52722, CVE-2024-29510, CVE-2024-33869, CVE-2024-33870, CVE-2024-33871

Summary

ghostscript vulnerabilities

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)

Severity

Not rated by the source.

Dates

Published
2024-06-17 17:35 UTC
Modified
2026-04-27 17:32 UTC

Affected packages and fixes

ghostscript

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 9.50~dfsg-5ubuntu4.12 (ecosystem)

Fixed versions

9.50~dfsg-5ubuntu4.12

Fix

  • Fixed version 9.50~dfsg-5ubuntu4.12
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ghostscript

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 9.55.0~dfsg1-0ubuntu5.7 (ecosystem)

Fixed versions

9.55.0~dfsg1-0ubuntu5.7

Fix

  • Fixed version 9.55.0~dfsg1-0ubuntu5.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ghostscript

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 10.02.1~dfsg1-0ubuntu7.1 (ecosystem)

Fixed versions

10.02.1~dfsg1-0ubuntu7.1

Fix

  • Fixed version 10.02.1~dfsg1-0ubuntu7.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences