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


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating

    Threat Intelligence

    EPSS
    0.53% (78th 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 ID SNYK-RHEL8-GHOSTSCRIPTTOOLSFONTS-5413816
  • published 5 Apr 2023
  • disclosed 31 Mar 2023

How to fix?

Upgrade RHEL:8 ghostscript-tools-fonts to version 0:9.27-11.el8 or higher.
This issue was patched in RHSA-2023:7053.

NVD Description

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

CVSS Scores

version 3.1
Expand this section

NVD

9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

Red Hat

8.4 high
Expand this section

SUSE

7.8 high