Vulnerability Note VU#635998
Sun Solaris gzip may change permissions of hard linked files
Sun Solaris gzip contains a vulnerability that may change the permissions of hard linked files. The specific impact may allow hard linked files compressed by gzip to become readable and able to be modified by unprivileged users.
Gzip is a utility used for compressing and decompressing files. The "-f" (-force) flag is used to force compression or decompression even if the file has multiple hard links. When gzip is used with the "-f" flag on a Sun Solaris 8 machine, it may change the permissions of a hard linked file to 0777, causing a hard link to become readable and able to be modified by unprivileged users, regardless of its previous permission settings.
Note that Solaris 7 and Solaris 9 are not affected by this issue. This vulnerability is only present in versions of gzip prior to 1.3.
Local unprivileged users may be able to read or modify files owned by the user who has invoked gzip as described. Access to system files may inadvertently be granted if the gzip command is issued by a local privileged user.
Apply a patch
Do not use the force option for gzip
Systems Affected (Learn More)
|Vendor||Status||Date Notified||Date Updated|
|Sun Microsystems Inc.||Affected||-||12 Oct 2004|
CVSS Metrics (Learn More)
This document was written by Will Dormann and is based on the information presented in the Sun Alert notification.
- CVE IDs: Unknown
- Date Public: 01 Oct 2004
- Date First Published: 12 Oct 2004
- Date Last Updated: 18 Oct 2004
- Severity Metric: 3.88
- Document Revision: 9
If you have feedback, comments, or additional information about this vulnerability, please send us email.