CVE-2023-28879
Publication date 31 March 2023
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
ghostscript | ||
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 |
Fixed 9.26~dfsg+0-0ubuntu0.16.04.14+esm5
|
|
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 ProNotes
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
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 |
References
Related Ubuntu Security Notices (USN)
- USN-6017-1
- Ghostscript vulnerability
- 13 April 2023
- USN-6017-2
- Ghostscript vulnerability
- 26 April 2023
Other references
- https://ghostscript.readthedocs.io/en/latest/News.html
- https://artifex.com/news/critical-security-vulnerability-fixed-in-ghostscript
- https://www.openwall.com/lists/oss-security/2023/04/12/4
- https://offsec.almond.consulting/ghostscript-cve-2023-28879.html
- https://ghostscript.com/blog/pdfi.html
- https://www.cve.org/CVERecord?id=CVE-2023-28879