CVE-2001-1593: Low severity GNU a2ps vulnerability

Published Feb 2, 2014
·
Updated

Jakub Wilk found that a2ps, a tool to convert text and other types of files to PostScript, insecurely used a temporary file in spyuser(). A local attacker could use this flaw to perform a symbolic link attack to modify an arbitrary file accessible to the user running a2ps.

The original report in the Debian bug tracking system (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737385) notes the issue is in src/main.c:

559 tempnameensure (job->tmpfilenames[0]); 560 spyname = job->tmpfilenames[0]; 561 spy = fopen (spyname, "w");

And also notes there are other calls to tempnameensure().

Other sources

The tempnameensure function in lib/routines.h in a2ps 4.14 and earlier, as used by the spyuser function and possibly other functions, allows local users to modify arbitrary files via a symlink attack on a temporary file.

MITRE

Affected Software

7 affected componentsFixes available
debian/a2ps
1:4.14-71:4.14-81:4.15.6-1
GNU a2ps<=4.14
GNU a2ps=4.10.3
GNU a2ps=4.10.4
GNU a2ps=4.12
GNU a2ps=4.13
GNU a2ps=4.13b

Event History

Feb 2, 2014
Data Sourced
via Debian·10:45 AM
SeverityAffected Software
Feb 3, 2014
Data Sourced
via Red Hat·06:06 AM
DescriptionSeverityAffected Software
Apr 5, 2014
CVE Published
09:55 PM
Data Sourced
via NVD·09:55 PM
DescriptionSeverityWeaknessAffected Software
Apr 6, 2014
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2001-1593?

CVE-2001-1593 is considered a medium severity vulnerability due to the potential for local attackers to exploit it.

2

How do I fix CVE-2001-1593?

To fix CVE-2001-1593, upgrade a2ps to version 4.14 or later.

3

Who is affected by CVE-2001-1593?

CVE-2001-1593 affects users of GNU a2ps versions 4.10.3, 4.10.4, 4.13, 4.13b, and 4.12.

4

What type of attack does CVE-2001-1593 enable?

CVE-2001-1593 enables local attackers to perform symbolic link attacks.

5

Is CVE-2001-1593 a remote vulnerability?

No, CVE-2001-1593 is not a remote vulnerability; it requires local access to exploit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203