CVE-2003-0367
published 2003-07-02CVE-2003-0367: znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files.
PriorityP48low2.1CVSS 2.0
AVLACLAuNCNIPAN
EPSS
0.45%
36.1th percentile
znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | gzip | < gzip 1.3.5-6 (bookworm) | gzip 1.3.5-6 (bookworm) |
| debian | gzip | < gzip 1.3.5-8 (bookworm) | gzip 1.3.5-8 (bookworm) |
| gnu | gzip | <= 1.3.5 | — |
| gnu | gzip | — | — |
| gzip | gzip | >= 0 < 1.3.5-8 | 1.3.5-8 |
| gzip | gzip | >= 0 < 1.3.5-6 | 1.3.5-6 |
| gzip | gzip | >= 0 < 1.3.5-8 | 1.3.5-8 |
| gzip | gzip | >= 0 < 1.3.5-6 | 1.3.5-6 |
| gzip | gzip | >= 0 < 1.3.5-8 | 1.3.5-8 |
| gzip | gzip | >= 0 < 1.3.5-6 | 1.3.5-6 |
| gzip | gzip | >= 0 < 1.3.5-8 | 1.3.5-8 |
| gzip | gzip | >= 0 < 1.3.5-6 | 1.3.5-6 |
CVSS provenance
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:P/A:N
osv2.1LOW
vendor_debian2.1MEDIUM
vendor_redhat2.1LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2004-0970: gzip - The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by o...
vendor_debian·2004·CVSS 2.1
CVE-2004-0970 [LOW] CVE-2004-0970: gzip - The (1) gzexe, (2) zdiff, and (3) znew scripts in the gzip package, as used by o...
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.
Scope: local
bookworm: resolved (fixed in 1.3.5-8)
bullseye: resolved (fixed in 1.3.5-8)
forky: resolved (fixed in 1.3.5-8)
sid: resolved (fixed in 1.3.5-8)
trixie: resolved (fixed in 1.3.5-8)
Red Hat
gzip: symlink attack on temporary files leads to arbitrary file overwrite
vendor_redhat·2003-07-02·CVSS 2.1
CVE-2003-0367 [LOW] CWE-20 gzip: symlink attack on temporary files leads to arbitrary file overwrite
gzip: symlink attack on temporary files leads to arbitrary file overwrite
znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files.
Statement: Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.
Package: gzip (Red Hat Enterprise Linux 5) - Not affected
Package: gzip (Red Hat Enterprise Linux 6) - Not affected
Package: gzip (Red Hat Enterprise Linux 7) - Not affected
Package: gzip (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2003-0367: gzip - znew in the gzip package allows local users to overwrite arbitrary files via a s...
vendor_debian·2003·CVSS 2.1
CVE-2003-0367 [LOW] CVE-2003-0367: gzip - znew in the gzip package allows local users to overwrite arbitrary files via a s...
znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files.
Scope: local
bookworm: resolved (fixed in 1.3.5-6)
bullseye: resolved (fixed in 1.3.5-6)
forky: resolved (fixed in 1.3.5-6)
sid: resolved (fixed in 1.3.5-6)
trixie: resolved (fixed in 1.3.5-6)
GHSA
GHSA-vj5m-w4ph-5wwj: znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files
ghsa_unreviewed·2022-04-29
CVE-2003-0367 [LOW] CWE-20 GHSA-vj5m-w4ph-5wwj: znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files
znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files.
GHSA
GHSA-2jrh-9rrj-2f59: 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
ghsa_unreviewed·2022-04-29·CVSS 2.1
CVE-2004-0970 [LOW] GHSA-2jrh-9rrj-2f59: 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
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.
OSV
CVE-2004-0970: 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
osv·2005-02-09·CVSS 2.1
CVE-2004-0970 [LOW] CVE-2004-0970: 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
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.
OSV
CVE-2003-0367: znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files
osv·2003-07-02·CVSS 2.1
CVE-2003-0367 [LOW] CVE-2003-0367: znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files
znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2003-0367 gzip: symlink attack on temporary files leads to arbitrary file overwrite [fedora-all]
bugzilla·2020-06-25·CVSS 2.1
CVE-2003-0367 [LOW] CVE-2003-0367 gzip: symlink attack on temporary files leads to arbitrary file overwrite [fedora-all]
CVE-2003-0367 gzip: symlink attack on temporary files leads to arbitrary file overwrite [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mult
Bugzilla
CVE-2003-0367 gzip: symlink attack on temporary files leads to arbitrary file overwrite
bugzilla·2020-06-25·CVSS 2.1
CVE-2003-0367 [LOW] CVE-2003-0367 gzip: symlink attack on temporary files leads to arbitrary file overwrite
CVE-2003-0367 gzip: symlink attack on temporary files leads to arbitrary file overwrite
znew in the gzip package allows local users to overwrite arbitrary files via a symlink attack on temporary files.
References:
http://www.debian.org/security/2003/dsa-308
http://www.mandriva.com/security/advisories?name=MDKSA-2003:068
http://www.openpkg.org/security/OpenPKG-SA-2003.031-gzip.html
http://www.securityfocus.com/bid/7872
http://www.turbolinux.com/security/TLSA-2003-38.txt
Discussion:
Created gzip tracking bugs for this issue:
Affects: fedora-all [bug 1850890]
---
This was fixed some 15+ years ago and does not affect current Red Hat Enterprise Linux or Fedora versions.
---
Created attachment 1698899
gzip-1.3.5-openbsd-owl-tmp.patch
The version of the patch as included in Red Hat Ent
Bugzilla
CAN-2003-0367 tmpfile symlink race in znew
bugzilla·2003-06-13·CVSS 2.1
CVE-1999-1332 [LOW] CAN-2003-0367 tmpfile symlink race in znew
CAN-2003-0367 tmpfile symlink race in znew
Paul Szabo discovered that znew, a script included in the gzip
package, creates its temporary files without taking precautions to
avoid a symlink attack (CAN-2003-0367). gzexe had a similar
vulnerability a while ago, CVE-1999-1332.
Not yet investigated if this affects RHL or which versions.
Discussion:
The znew in gzip-1.3.3 does not use /tmp files.
http://www.debian.org/security/2003/dsa-308http://www.mandriva.com/security/advisories?name=MDKSA-2003:068http://www.openpkg.org/security/OpenPKG-SA-2003.031-gzip.htmlhttp://www.securityfocus.com/bid/7872http://www.turbolinux.com/security/TLSA-2003-38.txthttp://www.debian.org/security/2003/dsa-308http://www.mandriva.com/security/advisories?name=MDKSA-2003:068http://www.openpkg.org/security/OpenPKG-SA-2003.031-gzip.htmlhttp://www.securityfocus.com/bid/7872http://www.turbolinux.com/security/TLSA-2003-38.txt
2003-07-02
Published