Debian Security Advisory

DSA-329-1 osh -- buffer overflows

Date Reported:
20 Jun 2003
Affected Packages:
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)

Intel IA-32:
Intel IA-64:
Motorola 680x0:
Big endian MIPS:
Little endian MIPS:
IBM S/390:
Sun Sparc:

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