Vulnerability Note VU#579928
diffutils sdiff creates temporary files insecurely
diffutils, a set of utilities distributed with many versions of linux, contains a utility called sdiff, which creates temporary files of predictable names in an insecure fashion. Using a symbolic link attack, an intruder can cause overwrite of any file writable by the user executing sdiff.
sdiff creates temporary files as part of the file comparison process. Under some conditions, sdiff will create files in /tmp with predictable names, and furthermore does not check for prior existence or ownership of these files.
By creating a series of symbolic links, an intruder can cause sdiff to overwrite any file writable by the user executing sdiff, which may corrupt data or deny service.
Apply vendor patches; see the Systems Affected section below.
Systems Affected (Learn More)
|Vendor||Status||Date Notified||Date Updated|
|Caldera||Affected||18 Sep 2001||19 Sep 2001|
|Immunix||Affected||10 Jan 2001||17 Sep 2001|
|MandrakeSoft||Affected||10 Jan 2001||17 Sep 2001|
|RedHat||Affected||18 Sep 2001||08 Nov 2001|
|Trustix||Affected||10 Jan 2001||18 Sep 2001|
|Debian||Unknown||18 Sep 2001||09 Oct 2001|
|Sequent||Unknown||18 Sep 2001||09 Oct 2001|
CVSS Metrics (Learn More)
This vulnerability was first described by Greg Kroah-Hartman of Immunix.
This document was last modified by Tim Shimeall.
- CVE IDs: CAN-2001-0117
- Date Public: 10 Jan 2001
- Date First Published: 09 Oct 2001
- Date Last Updated: 08 Nov 2001
- Severity Metric: 4.50
- Document Revision: 15
If you have feedback, comments, or additional information about this vulnerability, please send us email.