CVE-2005-1111 Race condition in n/a

Medium 4.7 Published Updated

Local attackers can exploit a race condition in cpio to modify permissions of arbitrary files via hard link attacks during decompression.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2005-1111?

CVE-2005-1111 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 16 Apr 2005. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Race condition in cpio 2.6 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 cpio after the decompression is complete.

Weakness: CWE-59, CWE-367

Which versions are affected by CVE-2005-1111?

It affects 3 products.

Linux distribution packages (16)
cpio Red Hat:enterprise_linux:3::asAll versions0:2.5-4.RHEL3
cpio-debuginfo Red Hat:enterprise_linux:3::asAll versions0:2.5-4.RHEL3
cpio Red Hat:enterprise_linux:3::desktopAll versions0:2.5-4.RHEL3
cpio-debuginfo Red Hat:enterprise_linux:3::desktopAll versions0:2.5-4.RHEL3
cpio Red Hat:enterprise_linux:3::esAll versions0:2.5-4.RHEL3
cpio-debuginfo Red Hat:enterprise_linux:3::esAll versions0:2.5-4.RHEL3
cpio Red Hat:enterprise_linux:3::wsAll versions0:2.5-4.RHEL3
cpio-debuginfo Red Hat:enterprise_linux:3::wsAll versions0:2.5-4.RHEL3
cpio Red Hat:enterprise_linux:4::asAll versions0:2.5-8.RHEL4
cpio-debuginfo Red Hat:enterprise_linux:4::asAll versions0:2.5-8.RHEL4
cpio Red Hat:enterprise_linux:4::desktopAll versions0:2.5-8.RHEL4
cpio-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:2.5-8.RHEL4
cpio Red Hat:enterprise_linux:4::esAll versions0:2.5-8.RHEL4
cpio-debuginfo Red Hat:enterprise_linux:4::esAll versions0:2.5-8.RHEL4
cpio Red Hat:enterprise_linux:4::wsAll versions0:2.5-8.RHEL4
cpio-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:2.5-8.RHEL4

Products include Canonical Ubuntu Linux, Debian Debian Linux, Gnu Cpio.

How do I fix CVE-2005-1111?

Apply the vendor's patch.

Is CVE-2005-1111 being exploited?

There is no known exploitation of CVE-2005-1111 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2005-1111, GHSA-fg93-983g-7p2v, RHSA-2005:378.

Is CVE-2005-1111 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free