DSA-329-1 osh -- buffer overflows

Related Vulnerabilities: CVE-2003-0452  

Steve Kemp discovered that osh, a shell intended to restrict the actions of the user, contains two buffer overflows, in processing environment variables and file redirections. These vulnerabilities could be used to execute arbitrary code, overriding any restrictions placed on the shell. For the stable distribution (woody) this problem has been fixed in version 1.7-11woody1. The old stable distribution (potato) is affected by this problem, and may be fixed in a future advisory on a time-available basis. For the unstable distribution (sid) this problem is fixed in version 1.7-12. We recommend that you update your osh package.

Debian Security Advisory

DSA-329-1 osh -- buffer overflows

Date Reported:
20 Jun 2003
Affected Packages:
osh
Vulnerable:
Yes
Security database references:
In the Bugtraq database (at SecurityFocus): BugTraq ID 7992, BugTraq ID 7993.
In Mitre's CVE dictionary: CVE-2003-0452.
More information:

Steve Kemp discovered that osh, a shell intended to restrict the actions of the user, contains two buffer overflows, in processing environment variables and file redirections. These vulnerabilities could be used to execute arbitrary code, overriding any restrictions placed on the shell.

For the stable distribution (woody) this problem has been fixed in version 1.7-11woody1.

The old stable distribution (potato) is affected by this problem, and may be fixed in a future advisory on a time-available basis.

For the unstable distribution (sid) this problem is fixed in version 1.7-12.

We recommend that you update your osh package.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Source:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1.dsc
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1.diff.gz
Alpha:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_alpha.deb
ARM:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_arm.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_ia64.deb
HPPA:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_hppa.deb
Motorola 680x0:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_m68k.deb
Big endian MIPS:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_mips.deb
Little endian MIPS:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/o/osh/osh_1.7-11woody1_sparc.deb

MD5 checksums of the listed files are available in the original advisory.