{"id":"CVE-2001-1593","aliases":["DEBIAN-CVE-2001-1593","DSA-2892-1","EUVD-2001-1570","GHSA-q93q-4mxv-67mp","UBUNTU-CVE-2001-1593","openSUSE-SU-2024:12797-1"],"status":"published","title":"The tempname_ensure function in lib/routines.h in a2ps 4.14 and earlier, as used by the spy_user...","description":"The tempname_ensure function in lib/routines.h in a2ps 4.14 and earlier, as used by the spy_user function and possibly other functions, allows local users to modify arbitrary files via a symlink attack on a temporary file.","severity":{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00396,"percentile":0.34062,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2014-03-31T00:00:00Z","modified":"2026-10-22T23:47:27Z","fixes":[{"ecosystem":"Debian:12","package":"a2ps","fixed_in":["1:4.14-1.2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"a2ps","fixed_in":["1:4.14-1.2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"a2ps","fixed_in":["1:4.14-1.2"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"a2ps","fixed_in":["4.15-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"a2ps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.14-1.2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"a2ps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.14-1.2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"a2ps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.14-1.2"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"a2ps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.14-1.1+deb6u1"}]}],"versions":["1:4.14-1.1"],"bundled":2},{"source":"osv","ecosystem":"Debian:7","package":"a2ps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.14-1.1+deb7u1"}]}],"versions":["1:4.14-1.1"],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"a2ps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15-1.1"}]}]}],"products":[{"vendor":"gnu","product":"a2ps"}],"references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737385","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://pkgs.fedoraproject.org/cgit/a2ps.git/plain/a2ps-4.13-security.patch","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1060630","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"http://seclists.org/oss-sec/2014/q1/253","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://seclists.org/oss-sec/2014/q1/257","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.debian.org/security/2014/dsa-2892","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://seclists.org/oss-sec/2014/q1/237","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2001-1593"},{"url":"https://github.com/advisories/GHSA-q93q-4mxv-67mp"},{"url":"https://security-tracker.debian.org/tracker/CVE-2001-1593","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2001-1593","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2001-1593","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2001-1593","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2001-1593","description":"The tempname_ensure function in lib/routines.h in a2ps 4.14 and earlier, as used by the spy_user function and possibly other functions, allows local users to modify arbitrary files via a symlink attack on a temporary file.","status":"published","published":"2014-04-05T21:00:00Z","modified":"2024-08-08T04:58:11.469Z","updated_at":"2026-11-02T14:34:42.680977Z"}],"euvd":[{"id":"EUVD-2001-1570","description":"The tempname_ensure function in lib/routines.h in a2ps 4.14 and earlier, as used by the spy_user function and possibly other functions, allows local users to modify arbitrary files via a symlink attack on a temporary file.","status":"published","published":"2014-04-05T21:00:00Z","modified":"2024-08-08T04:58:11Z","updated_at":"2026-11-03T00:56:27.245824Z"}],"ghsa":[{"id":"GHSA-q93q-4mxv-67mp","title":"The tempname_ensure function in lib/routines.h in a2ps 4.14 and earlier, as used by the spy_user...","description":"The tempname_ensure function in lib/routines.h in a2ps 4.14 and earlier, as used by the spy_user function and possibly other functions, allows local users to modify arbitrary files via a symlink attack on a temporary file.","status":"published","published":"2022-04-30T18:18:19Z","modified":"2023-01-30T05:06:00Z","cwes":["CWE-59"],"updated_at":"2026-11-02T14:47:23.939517Z"}],"nvd":[{"id":"CVE-2001-1593","description":"The tempname_ensure function in lib/routines.h in a2ps 4.14 and earlier, as used by the spy_user function and possibly other functions, allows local users to modify arbitrary files via a symlink attack on a temporary file.","status":"published","published":"2014-04-05T21:55:06.097Z","modified":"2026-06-16T21:56:33.777Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:00:44.251133Z"}],"osv":[{"id":"CVE-2001-1593","description":"The tempname_ensure function in lib/routines.h in a2ps 4.14 and earlier, as used by the spy_user function and possibly other functions, allows local users to modify arbitrary files via a symlink attack on a temporary file.","status":"published","published":"2014-04-05T21:55:06Z","modified":"2026-04-10T03:31:53.834051Z","updated_at":"2026-11-02T15:43:55.998148Z"},{"id":"DEBIAN-CVE-2001-1593","description":"The tempname_ensure function in lib/routines.h in a2ps 4.14 and earlier, as used by the spy_user function and possibly other functions, allows local users to modify arbitrary files via a symlink attack on a temporary file.","status":"published","published":"2014-04-05T21:55:06.097Z","modified":"2026-10-22T23:47:27.243100239Z","updated_at":"2026-11-02T15:45:22.248131Z"},{"id":"DSA-2892-1","title":"a2ps - security update","status":"published","published":"2014-03-31T00:00:00Z","modified":"2026-03-09T01:20:53.506192Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"openSUSE-SU-2024:12797-1","title":"a2ps-4.15-1.1 on GA media","description":"These are all security issues fixed in the a2ps-4.15-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:43:13.761362Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"UBUNTU-CVE-2001-1593","description":"Jakub Wilk found that a2ps, a tool to convert text and other types of files to PostScript, insecurely used a temporary file in spy_user(). A local attacker could use this flaw to perform a symbolic link attack to modify an arbitrary file accessible to the user running a2ps.","status":"withdrawn","published":"2014-04-05T21:55:00Z","modified":"2025-07-16T07:30:37.082655Z","updated_at":"2026-11-02T15:54:05.838224Z"}]}}
