Description
sort creates temporary files and follows symbolic links, which allows local users to modify arbitrary files that are writable by the user running sort, as observed in updatedb and other programs that use sort.
References
- 19971006 KSR[T] Advisory #3: updatedb / crontabs mailing-list
- 19980302 overwrite any file with updatedb mailing-list
- 19980303 updatedb stuff mailing-list