Advisory

USN-6897-1

Also known as: CVE-2024-29506, CVE-2024-29507, CVE-2024-29508, CVE-2024-29509, CVE-2024-29511

Summary

ghostscript vulnerabilities

Details

It was discovered that Ghostscript incorrectly handled certain long PDF
filter names. An attacker could possibly use this issue to cause
Ghostscript to crash, resulting in a denial of service. This issue only
affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-29506)

It was discovered that Ghostscript incorrectly handled certain API
parameters. An attacker could possibly use this issue to cause Ghostscript
to crash, resulting in a denial of service. This issue only affected Ubuntu
24.04 LTS. (CVE-2024-29507)

It was discovered that Ghostscript incorrectly handled certain BaseFont
names. An attacker could use this issue to cause Ghostscript to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2024-29508)

It was discovered that Ghostscript incorrectly handled certain PDF
passwords that contained NULL bytes. An attacker could use this issue to
cause Ghostscript to crash, resulting in a denial of service, or possibly
execute arbitrary code. This issue only affected Ubuntu 22.04 LTS and
Ubuntu 24.04 LTS. (CVE-2024-29509)

It was discovered that Ghostscript incorrectly handled certain certain file
paths when doing OCR. An attacker could use this issue to read arbitrary
files and write error messages to arbitrary files. This issue only affected
Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-29511)

Severity

Not rated by the source.

Dates

Published
2024-07-15 11:27 UTC
Modified
2026-04-22 10:49 UTC

Affected packages and fixes

ghostscript

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

9.50~dfsg-5ubuntu4.13

Fix

  • Fixed version 9.50~dfsg-5ubuntu4.13
    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.9 (ecosystem)

Fixed versions

9.55.0~dfsg1-0ubuntu5.9

Fix

  • Fixed version 9.55.0~dfsg1-0ubuntu5.9
    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.3 (ecosystem)

Fixed versions

10.02.1~dfsg1-0ubuntu7.3

Fix

  • Fixed version 10.02.1~dfsg1-0ubuntu7.3
    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