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

10 affected componentsFixes available
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
debian/a2ps<1:4.14-1.2
1:4.14-1.2
debian/a2ps<1:4.14-1.2
1:4.14-1.2
debian/a2ps<1:4.14-1.2
1:4.14-1.2
debian/a2ps
1:4.14-1.1+deb6u11:4.14-1.1+deb7u11:4.14-1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/a2ps to a version that resolves this vulnerability.

    Fixed in 1:4.14-1.2
  2. Upgrade

    Upgrade debian/a2ps to a version that resolves this vulnerability.

    Fixed in 1:4.14-1.1+deb6u1Fixed in 1:4.14-1.1+deb7u1Fixed in 1:4.14-1.2

Event History

Feb 2, 2014
Data Sourced
10:45 AM
SeverityAffected Software
Feb 3, 2014
Data Sourced
06:06 AM
Description
Apr 1, 2014
Data Sourced
via Debian·09:17 PM
SeverityAffected Software
Apr 5, 2014
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
09:55 PM
Weakness
Data Sourced
via NVD·09:55 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:55 PM
DescriptionAffected Software
Apr 6, 2014
CVE Published
via MITRE·01:00 AM
Feb 17, 2021
Data Sourced
via Red Hat·06:55 AM
DescriptionSeverityAffected Software
Updated
via Red Hat·06:55 AM
Description
May 6, 2026
Updated
via NVD·10:30 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

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