CVE-2005-0953

NameCVE-2005-0953
DescriptionRace condition in bzip2 1.0.2 and earlier allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by bzip2 after the decompression is complete.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-730-1
NVD severitylow (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bzip2 (PTS)wheezy1.0.6-4fixed
jessie1.0.6-7fixed
buster, sid, stretch1.0.6-8.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bzip2source(unstable)1.0.2-6low
bzip2sourcewoody1.0.2-1.woody2lowDSA-730-1

Notes

This "vulnerability" is only exploitable under rarest circumstances: A (local)
attacker would have to exploit the minimal time span between uncompressing
the file and chmodding it to delete the file and place a hardlink to another
file of the "attacked" user. Additionally the attacker needs write permissions
to the directory where the file is being uncompressed, ruling out /~ etc.

Search for package or bug name: Reporting problems