Out-of-bounds Write Affecting ghostscript-tools-printing package, versions <0:9.27-11.el8


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.67% (81st 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-ALMALINUX8-GHOSTSCRIPTTOOLSPRINTING-6086781
  • published27 Nov 2023
  • disclosed7 Nov 2023

Introduced: 7 Nov 2023

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

How to fix?

Upgrade AlmaLinux:8 ghostscript-tools-printing to version 0:9.27-11.el8 or higher.
This issue was patched in ALSA-2023:7053.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript-tools-printing package and not the ghostscript-tools-printing package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 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.

References

CVSS Scores

version 3.1