Debian: New unarj packages fix several vulnerabilities
Posted by Joseph Shakespeare   
Debian Several vulnerabilities have been discovered in unarj, a non-free ARJ unarchive utility.
- --------------------------------------------------------------------------
Debian Security Advisory DSA 652-1                                        Martin Schulze
January 21st, 2005            
- --------------------------------------------------------------------------

Package        : unarj
Vulnerability  : several
Problem-Type   : local (remote)
Debian-specific: no
CVE ID         : CAN-2004-0947 CAN-2004-1027
Debian Bug     : 281922

Several vulnerabilities have been discovered in unarj, a non-free ARJ
unarchive utility.  The Common Vulnerabilities and Exposures Project
identifies the following vulnerabilities:


    A buffer overflow has been discovered when handling long file
    names contained in an archive.  An attacker could create a
    specially crafted archive which could cause unarj to crash or
    possibly execute arbitrary code when being extracted by a victim.


    A directory traversal vulnerability has been found so that an
    attacker could create a specially crafted archive which would
    create files in the parent directory when being extracted by a
    victim.  When used recursively, this vulnerability could be used
    to overwrite critical system files and programs.

For the stable distribution (woody) these problems have been fixed in
version 2.43-3woody1.

For the unstable distribution (sid) these problems don't apply since
unstable/non-free does not contain the unarj package.

We recommend that you upgrade your unarj 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:      528 e1d166f2eaf315641d1269a32ad1dc76
      Size/MD5 checksum:    12903 4ef4cfad33d05ecc048d63596ab2673c
      Size/MD5 checksum:    39620 7a481dc017f1fbfa7f937a97e66eb99f

  Alpha architecture:
      Size/MD5 checksum:    29668 08dc91afd3146ccdfaa51d73f8be56e5

  ARM architecture:
      Size/MD5 checksum:    22784 ed352d363cbeb34ba2268db63a632824

  Intel IA-32 architecture:
      Size/MD5 checksum:    20690 aa9490bd82bc9aef4f6092d19fa83eaa

  Intel IA-64 architecture:
      Size/MD5 checksum:    31072 0b1f0403cfaaf572399fcb60b2549664

  HP Precision architecture:
      Size/MD5 checksum:    23888 15a8d6b0b7b565186398c0b8ebe3eb6a

  Motorola 680x0 architecture:
      Size/MD5 checksum:    20384 644a6dcc9f566bad384c050bc8b8fb14

  PowerPC architecture:
      Size/MD5 checksum:    23060 5c5a1f0157aa613337f80b439e78456f

  IBM S/390 architecture:
      Size/MD5 checksum:    22668 97dc977c8217a10d4915ee32db49edd5

  Sun Sparc architecture:
      Size/MD5 checksum:    25386 bd2210a978ad30306e3db2ab112c87e8

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

- ---------------------------------------------------------------------------------
For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list: