Attacker Value
High
(1 user assessed)
Exploitability
High
(1 user assessed)
User Interaction
None
Privileges Required
None
Attack Vector
Network
2

CVE-2023-28879

Disclosure Date: March 31, 2023
Add MITRE ATT&CK tactics and techniques that apply to this CVE.

Description

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.

Add Assessment

1
Ratings
  • Attacker Value
    High
  • Exploitability
    High
Technical Analysis

Remote code execution in Ghostscript can be exploited by parsing malicious PostScript (EPS) files.
The software is very popular together with ImageMagic, and it’s used to parse uploaded files to generate thumbnails or convert them to different formats.

9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

At risk

All versions older than 10.01.0

Mitigation

Update to 10.01.0

Detection

Proof of Concept

CVSS V3 Severity and Metrics
Base Score:
9.8 Critical
Impact Score:
5.9
Exploitability Score:
3.9
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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

General Information

Vendors

  • artifex,
  • debian

Products

  • debian linux 10.0,
  • debian linux 11.0,
  • ghostscript

Additional Info

Technical Analysis