bzip2 Insecure Decompressed File Permissions Vulnerability

BID:4775

Info

bzip2 Insecure Decompressed File Permissions Vulnerability

Bugtraq ID: 4775
Class: Race Condition Error
CVE:
Remote: No
Local: Yes
Published: May 20 2002 12:00AM
Updated: May 20 2002 12:00AM
Credit: Discovery of this issue is credited to Volker Schmidt and Philippe Troin.
Vulnerable: bzip2 bzip2 1.0.1
- FreeBSD FreeBSD 4.5
- FreeBSD FreeBSD 4.4
- Trustix Secure Linux 1.5
- Trustix Secure Linux 1.2
- Trustix Secure Linux 1.1
bzip2 bzip2 1.0
bzip2 bzip2 0.9.5 d
bzip2 bzip2 0.9.5 c
bzip2 bzip2 0.9.5 b
bzip2 bzip2 0.9.5 a
bzip2 bzip2 0.9 c
bzip2 bzip2 0.9 b
bzip2 bzip2 0.9 a
bzip2 bzip2 0.9
Not Vulnerable: bzip2 bzip2 1.0.2
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Debian Linux 3.0
- FreeBSD FreeBSD 4.5
- FreeBSD FreeBSD 4.5
- FreeBSD FreeBSD 4.4
- FreeBSD FreeBSD 4.4
+ Ubuntu Ubuntu Linux 5.0 4 powerpc
+ Ubuntu Ubuntu Linux 5.0 4 powerpc
+ Ubuntu Ubuntu Linux 5.0 4 i386
+ Ubuntu Ubuntu Linux 5.0 4 i386
+ Ubuntu Ubuntu Linux 5.0 4 amd64
+ Ubuntu Ubuntu Linux 5.0 4 amd64
+ Ubuntu Ubuntu Linux 4.1 ppc
+ Ubuntu Ubuntu Linux 4.1 ppc
+ Ubuntu Ubuntu Linux 4.1 ia64
+ Ubuntu Ubuntu Linux 4.1 ia64
+ Ubuntu Ubuntu Linux 4.1 ia32
+ Ubuntu Ubuntu Linux 4.1 ia32

Discussion

bzip2 Insecure Decompressed File Permissions Vulnerability

bzip2 is an open-source file compression/decompression utility for Unix and Linux variants.

bzip2 is prone to a race condition which may cause files to decompress with world-readable permissions.

This vulnerability may potentially expose sensitive files to other local users.

Exploit / POC

bzip2 Insecure Decompressed File Permissions Vulnerability

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

bzip2 Insecure Decompressed File Permissions Vulnerability

Solution:
Upgrades are available:


bzip2 bzip2 0.9 c

bzip2 bzip2 0.9 b

bzip2 bzip2 0.9

bzip2 bzip2 0.9 a

bzip2 bzip2 0.9.5 a

bzip2 bzip2 0.9.5 b

bzip2 bzip2 0.9.5 d

bzip2 bzip2 0.9.5 c

bzip2 bzip2 1.0

bzip2 bzip2 1.0.1

References

bzip2 Insecure Decompressed File Permissions Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report