CVE-2023-28879

Publication date 31 March 2023

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
ghostscript 23.04 lunar
Fixed 10.0.0~dfsg1-0ubuntu1.1
22.10 kinetic
Fixed 9.56.1~dfsg1-0ubuntu3.1
22.04 LTS jammy
Fixed 9.55.0~dfsg1-0ubuntu5.2
20.04 LTS focal
Fixed 9.50~dfsg-5ubuntu4.7
18.04 LTS bionic
Fixed 9.26~dfsg+0-0ubuntu0.18.04.18
16.04 LTS xenial
14.04 LTS trusty Ignored end of standard support

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


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.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
ghostscript

Severity score breakdown

Parameter Value
Base score 9.8 · Critical
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