{"id":"CVE-2004-0970","aliases":["DEBIAN-CVE-2004-0970","DSA-588-1","EUVD-2004-0968","GHSA-2jrh-9rrj-2f59"],"status":"published","title":"The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages...","description":"The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages such as ncompress, allows local users to overwrite files via a symlink attack on temporary files.  NOTE: the znew vulnerability may overlap CVE-2003-0367.","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.00362,"percentile":0.30183,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-10-20T04:00:00Z","modified":"2026-10-21T15:47:23Z","fixes":[{"ecosystem":"Debian:12","package":"gzip","fixed_in":["1.3.5-8"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gzip","fixed_in":["1.3.5-8"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gzip","fixed_in":["1.3.5-8"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"gzip","fixed_in":["1.3.2-3woody3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-8"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-8"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-8"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-3woody3"}]}]}],"products":[{"vendor":"gnu","product":"gzip"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17583","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/11288","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.trustix.org/errata/2004/0050","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","web"]},{"url":"http://www.debian.org/security/2004/dsa-588","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/13131","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.zataz.net/adviso/ncompress-09052005.txt","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0970"},{"url":"https://github.com/advisories/GHSA-2jrh-9rrj-2f59"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0970","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0970","description":"The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages such as ncompress, allows local users to overwrite files via a symlink attack on temporary files.  NOTE: the znew vulnerability may overlap CVE-2003-0367.","status":"published","published":"2004-10-20T04:00:00Z","modified":"2024-08-08T00:38:59.919Z","updated_at":"2026-11-02T14:34:54.758165Z"}],"euvd":[{"id":"EUVD-2004-0968","description":"The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages such as ncompress, allows local users to overwrite files via a symlink attack on temporary files.  NOTE: the znew vulnerability may overlap CVE-2003-0367.","status":"published","published":"2004-10-20T04:00:00Z","modified":"2024-08-08T00:38:59Z","updated_at":"2026-11-03T01:15:17.239417Z"}],"ghsa":[{"id":"GHSA-2jrh-9rrj-2f59","title":"The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages...","description":"The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages such as ncompress, allows local users to overwrite files via a symlink attack on temporary files.  NOTE: the znew vulnerability may overlap CVE-2003-0367.","status":"published","published":"2022-04-29T02:58:42Z","modified":"2023-01-30T05:03:06Z","updated_at":"2026-11-02T14:46:46.047512Z"}],"nvd":[{"id":"CVE-2004-0970","description":"The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages such as ncompress, allows local users to overwrite files via a symlink attack on temporary files.  NOTE: the znew vulnerability may overlap CVE-2003-0367.","status":"published","published":"2005-02-09T05:00:00Z","modified":"2026-06-16T22:06:46.05Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:00:53.662124Z"}],"osv":[{"id":"CVE-2004-0970","description":"The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages such as ncompress, allows local users to overwrite files via a symlink attack on temporary files.  NOTE: the znew vulnerability may overlap CVE-2003-0367.","status":"published","published":"2005-02-09T05:00:00Z","modified":"2026-04-10T03:36:29.868707Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-0970","description":"The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by other packages such as ncompress, allows local users to overwrite files via a symlink attack on temporary files.  NOTE: the znew vulnerability may overlap CVE-2003-0367.","status":"published","published":"2005-02-09T05:00:00Z","modified":"2026-10-21T15:47:23.406553156Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-588-1","title":"gzip - insecure temporary files","status":"published","published":"2004-11-08T00:00:00Z","modified":"2026-03-09T02:09:46.780421Z","updated_at":"2026-11-02T15:46:17.892347Z"}]}}
