Mandrake Linux Security Advisory : sharutils (MDKSA-2005:067)
High Nessus Plugin ID 18002
SynopsisThe remote Mandrake Linux host is missing a security update.
DescriptionShaun Colley discovered a buffer overflow in shar that was triggered by output files (using -o) with names longer than 49 characters which could be exploited to run arbitrary attacker-specified code.
Ulf Harnhammar discovered that shar does not check the data length returned by the wc command.
Joey Hess discovered that unshar would create temporary files in an insecure manner which could allow a symbolic link attack to create or overwrite arbitrary files with the privileges of the user using unshar.
The updated packages have been patched to correct these issues.
SolutionUpdate the affected sharutils package.