FreeBSD : ghostscript -- exploitable buffer overflow in (T)BCP in PS interpreter (25872b25-da2d-11ed-b715-a1e76793953b)

critical Nessus Plugin ID 174287

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the 25872b25-da2d-11ed-b715-a1e76793953b advisory.

- 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. (CVE-2023-28879)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?042571c8

https://nvd.nist.gov/vuln/detail/CVE-2023-28879

http://www.nessus.org/u?825beb40

Plugin Details

Severity: Critical

ID: 174287

File Name: freebsd_pkg_25872b25da2d11edb715a1e76793953b.nasl

Version: 1.5

Type: local

Published: 4/14/2023

Updated: 11/6/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2023-28879

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:ghostscript, p-cpe:/a:freebsd:freebsd:ghostscript7-base, p-cpe:/a:freebsd:freebsd:ghostscript7-commfont, p-cpe:/a:freebsd:freebsd:ghostscript7-jpnfont, p-cpe:/a:freebsd:freebsd:ghostscript7-korfont, p-cpe:/a:freebsd:freebsd:ghostscript7-x11, p-cpe:/a:freebsd:freebsd:ghostscript8-base, p-cpe:/a:freebsd:freebsd:ghostscript8-x11, p-cpe:/a:freebsd:freebsd:ghostscript9-agpl-base, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/13/2023

Vulnerability Publication Date: 3/31/2023

Reference Information

CVE: CVE-2023-28879

IAVB: 2023-B-0023-S