portage-ng / portage / app-text / pstotext / 1.9-r5
portage-ng glsa
1 advisory reference app-text/pstotext · none place version 1.9-r5 in a vulnerable range
▸ GLSA 200507-29 pstotext: Remote execution of arbitrary code this version unaffected normal remote 2005-07-31

pstotext contains a vulnerability which can potentially result in the execution of arbitrary code.

Announced
2005-07-31
Revised
2005-08-11 (revision 2)
Access
remote
Bugs
#100245
Advisory
https://security.gentoo.org/glsa/200507-29

Affected packages

PackageArchVulnerableUnaffected
app-text/pstotext*< 1.8g-r1>= 1.8g-r1

Background

pstotext is a program that works with GhostScript to extract plain text from PostScript and PDF files.

Description

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.

Resolution

All pstotext users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/pstotext-1.8g-r1"

References