Out-of-bounds Write Affecting ghostscript-devel package, versions <0:8.70-24.28.amzn1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.83% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-GHOSTSCRIPTDEVEL-5496934
  • published4 May 2023
  • disclosed31 Mar 2023

Introduced: 31 Mar 2023

CVE-2023-28879  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 ghostscript-devel to version 0:8.70-24.28.amzn1 or higher.
This issue was patched in ALAS-2023-1734.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript-devel package and not the ghostscript-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

CVSS Scores

version 3.1