GLSA-200507-29 : pstotext: Remote execution of arbitrary code

high Nessus Plugin ID 19360

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200507-29 (pstotext: Remote execution of arbitrary code)

Max Vozeler reported that pstotext calls the GhostScript interpreter on untrusted PostScript files without specifying the -dSAFER option.
Impact :

An attacker could craft a malicious PostScript file and entice a user to run pstotext on it, resulting in the execution of arbitrary commands with the permissions of the user running pstotext.
Workaround :

There is no known workaround at this time.

Solution

All pstotext users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-text/pstotext-1.8g-r1'

See Also

https://secuniaresearch.flexerasoftware.com/advisories/16183/

https://security.gentoo.org/glsa/200507-29

Plugin Details

Severity: High

ID: 19360

File Name: gentoo_GLSA-200507-29.nasl

Version: 1.16

Type: local

Published: 8/1/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:pstotext, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 7/31/2005

Reference Information

CVE: CVE-2005-2536

GLSA: 200507-29