Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2023-28879

Published: 31 March 2023

In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data internal to the PostScript interpreter, in base/sbcp.c. This affects BCPEncode, BCPDecode, TBCPEncode, and TBCPDecode. If the write buffer is filled to one byte less than full, and one then tries to write an escaped character, two bytes are written.

Notes

AuthorNote
sbeattie
additional hardening upstream in commit 3635f4c75e
("PostScript filters - remove non-standard filters when SAFER is true")
consider applying as part of security fix
rodrigo-zaiden
hardening commit, 3635f4c75e, removes filters that are
required for the old PDF interpreter written in PostScript. the new PDF
interpreter written in C, is enabled by default in ghostscript 9.56.1.
so, the hardening can break certain operations in older versions. in
Ubuntu, the hardening is not applied is releases older than kinetic.

Priority

Medium

Cvss 3 Severity Score

9.8

Score breakdown

Status

Package Release Status
ghostscript
Launchpad, Ubuntu, Debian
bionic
Released (9.26~dfsg+0-0ubuntu0.18.04.18)
focal
Released (9.50~dfsg-5ubuntu4.7)
jammy
Released (9.55.0~dfsg1-0ubuntu5.2)
kinetic
Released (9.56.1~dfsg1-0ubuntu3.1)
lunar
Released (10.0.0~dfsg1-0ubuntu1.1)
trusty Ignored
(end of standard support)
upstream
Released (10.01.1, 10.0.0~dfsg-11)
xenial
Released (9.26~dfsg+0-0ubuntu0.16.04.14+esm5)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
Patches:
upstream: https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=37ed5022cecd584de868933b5b60da2e995b3179
upstream: https://git.ghostscript.com/?p=ghostpdl.git;h=3635f4c75e54e337a4eebcf6db3eef0e60f9cebf

Severity score breakdown

Parameter Value
Base score 9.8
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H