--------------------------------------------------------------------------
Debian Security Advisory DSA 329-1                     security@debian.org 
Debian -- Security Information                              Matt Zimmerman
June 20th, 2003                          Debian -- Debian security FAQ 
--------------------------------------------------------------------------

Package        : osh
Vulnerability  : buffer overflows
Problem-Type   : local
Debian-specific: no

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.

Upgrade Instructions
--------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody
--------------------------------

  Source archives:

      
      Size/MD5 checksum:      565 3af7f1c0c6a346d204c379b1a0c76239
      
      Size/MD5 checksum:    11456 50c1a6f3a14d5a9a87a0903d01e40f82

  Alpha architecture:

      
      Size/MD5 checksum:    33018 b655c662609b7bb5062a20b657a17a4c

  ARM architecture:

      
      Size/MD5 checksum:    27164 1f47067f854ca6997eaf5c1dde43f80d

  Intel IA-32 architecture:

      
      Size/MD5 checksum:    26734 dc76617c5ba84467187da2ef53b6b5b9

  Intel IA-64 architecture:

      
      Size/MD5 checksum:    36458 6611963c875df296cc82331a0d4ac5af

  HP Precision architecture:

      
      Size/MD5 checksum:    29144 5a16455ee0e50519b006010748d8e3b8

  Motorola 680x0 architecture:

      
      Size/MD5 checksum:    26014 8d8cfaa42fa540c7dc3e74e80a96e4a6

  Big endian MIPS architecture:

      
      Size/MD5 checksum:    29296 e1d1fbeea475a3b7cb788e0dcb03ba08

  Little endian MIPS architecture:

      
      Size/MD5 checksum:    29218 1c647b0936720769bd3be3649849db7f

  PowerPC architecture:

      
      Size/MD5 checksum:    28534 7b6ef4f5ac2c7d3dd919262d04b24f7d

  IBM S/390 architecture:

      
      Size/MD5 checksum:    27944 b14299fa7552124c3e6b05001e79e646

  Sun Sparc architecture:

      
      Size/MD5 checksum:    30626 58a7ccea2b17bbdbd124565545dd1057

  These files will probably be moved into the stable distribution on
  its next revision.

---------------------------------------------------------------------------------
For apt-get: deb  Debian -- Security Information  stable/updates main
For dpkg-ftp:    dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and  http://packages.debian.org/


Debian: 'osh' buffer overflows

June 20, 2003
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

Summary

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.

Upgrade Instructions
--------------------

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
will update the internal database
apt-get upgrade
will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody
--------------------------------

Source archives:


Size/MD5 checksum: 565 3af7f1c0c6a346d204c379b1a0c76239

Size/MD5 checksum: 11456 50c1a6f3a14d5a9a87a0903d01e40f82

Alpha architecture:


Size/MD5 checksum: 33018 b655c662609b7bb5062a20b657a17a4c

ARM architecture:


Size/MD5 checksum: 27164 1f47067f854ca6997eaf5c1dde43f80d

Intel IA-32 architecture:


Size/MD5 checksum: 26734 dc76617c5ba84467187da2ef53b6b5b9

Intel IA-64 architecture:


Size/MD5 checksum: 36458 6611963c875df296cc82331a0d4ac5af

HP Precision architecture:


Size/MD5 checksum: 29144 5a16455ee0e50519b006010748d8e3b8

Motorola 680x0 architecture:


Size/MD5 checksum: 26014 8d8cfaa42fa540c7dc3e74e80a96e4a6

Big endian MIPS architecture:


Size/MD5 checksum: 29296 e1d1fbeea475a3b7cb788e0dcb03ba08

Little endian MIPS architecture:


Size/MD5 checksum: 29218 1c647b0936720769bd3be3649849db7f

PowerPC architecture:


Size/MD5 checksum: 28534 7b6ef4f5ac2c7d3dd919262d04b24f7d

IBM S/390 architecture:


Size/MD5 checksum: 27944 b14299fa7552124c3e6b05001e79e646

Sun Sparc architecture:


Size/MD5 checksum: 30626 58a7ccea2b17bbdbd124565545dd1057

These files will probably be moved into the stable distribution on
its next revision.

Severity
Package : osh
Vulnerability : buffer overflows
Problem-Type : local
Debian-specific: no

Related News