bzip2 compressed files could inherit the permissions of a symbolic link

bzip2-compression-symlink (9128) The risk level is classified as MediumMedium Risk

Description:

bzip2 could allow a file to inherit the permissions of a symbolically linked file when the file is compressed. This would cause the file to potentially have insecure permissions when decompressed.

Platforms Affected:

  • FreeBSD, FreeBSD 4.4
  • FreeBSD, FreeBSD 4.5
  • Julian Seward, bzip2 1.0.1 and prior
  • SCO, Caldera OpenLinux Server 3.1
  • SCO, Caldera OpenLinux Server 3.1.1
  • SCO, Caldera OpenLinux Workstation 3.1
  • SCO, Caldera OpenLinux Workstation 3.1.1

Remedy:

Upgrade to the latest version of bzip2 (1.0.2 or later), available from the bzip2 Web page. See References.

For FreeBSD:
Apply the patch for this vulnerability, as listed in FreeBSD Security Advisory FreeBSD-SA-02:25. See References.

For CalderaOpenLinux Server and Workstation 3.1 and 3.1.1:
Upgrade to the latest bzip2 package (1.0.0-7MR or later) as listed in SCO Security Advisory CSSA-2002-039.0. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Obtain Information

References:

Reported:

May 20, 2002

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page