Ubuntu 4.10 : sharutils vulnerabilities (USN-102-1)

High Nessus Plugin ID 20488


The remote Ubuntu host is missing one or more security-related patches.


Shaun 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.


Update the affected sharutils and / or sharutils-doc packages.

Plugin Details

Severity: High

ID: 20488

File Name: ubuntu_USN-102-1.nasl

Version: $Revision: 1.12 $

Type: local

Agent: unix

Published: 2006/01/15

Modified: 2016/05/27

Dependencies: 12634

Risk Information

Risk Factor: High

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:sharutils, p-cpe:/a:canonical:ubuntu_linux:sharutils-doc, cpe:/o:canonical:ubuntu_linux:4.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 2005/03/29

Reference Information

USN: 102-1