Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar. To test this: unshar `perl -e 'print "A"x2000'`/tmp/testing There is a patch in the gentoo BTS: http://bugs.gentoo.org/show_bug.cgi?id=65773
This issue also affects RHEL2.1 and RHEL3
it's fixed in sharutils-4.2.1-8.8.x (RHEL-2.1), sharutils-4.2.1-16.1 (RHEL-3) and sharutils-4.2.1-22.1 (RHEL-4)
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-377.html