Ubuntu 4.10 : sharutils vulnerabilities (USN-102-1)
High Nessus Plugin ID 20488
SynopsisThe remote Ubuntu host is missing one or more security-related patches.
DescriptionShaun Colley discovered a buffer overflow in 'shar' that was triggered by output files (specified with -o) with names longer than 49 characters. This could be exploited to run arbitrary attacker specified code on systems that automatically process uploaded files with shar.
Ulf Harnhammar discovered that shar does not check the data length returned by the 'wc' command. However, it is believed that this cannot actually be exploited on real systems.
Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
SolutionUpdate the affected sharutils and / or sharutils-doc packages.