Name | CVE-2005-0953 |
Description | Race 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-730-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
bzip2 (PTS) | jessie, jessie (lts) | 1.0.6-7+deb8u2 | fixed |
| stretch (lts), stretch | 1.0.6-8.1+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 1.0.6-9.2~deb10u2 | fixed |
| bullseye | 1.0.8-4 | fixed |
| bookworm | 1.0.8-5 | fixed |
| sid, trixie | 1.0.8-6 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
bzip2 | source | woody | 1.0.2-1.woody2 | | DSA-730-1 | |
bzip2 | source | (unstable) | 1.0.2-6 | | | |
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.