cve.bz

CVE-2005-1111 Link Following

4.7 mediumEPSS 0.3%

Medium (4.7). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2005-1111 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2005-1111?via=ask-ai-copy and https://cve.bz/cve/CVE-2005-1111?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2005-1111 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:cpiothrough 2.6
debian:debian_linux3.0
debian:debian_linux3.1
canonical:ubuntu_linux4.10
canonical:ubuntu_linux5.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.0cpio2.4.2-39woody2DSA-846-1
Debian3.1cpio2.5-1.3DSA-846-1
Debian12, 13, 14cpio2.6-6DEBIAN-CVE-2005-1111
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morecpio, cpio-debuginfo0:2.5-4.RHEL3RHSA-2005:378
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morecpio, cpio-debuginfo0:2.5-8.RHEL4RHSA-2005:378

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3cpio-0:2.5-4.RHEL3Fixed 2005-07-21RHSA-2005:378
Red Hat Enterprise Linux 4cpio-0:2.5-8.RHEL4Fixed 2005-07-21RHSA-2005:378
Red Hat Enterprise Linux AS (Advanced Server) version 2.1Fixed 2005-11-10RHSA-2005:806
Red Hat Enterprise Linux ES version 2.1Fixed 2005-11-10RHSA-2005:806
Red Hat Enterprise Linux WS version 2.1Fixed 2005-11-10RHSA-2005:806
Red Hat Linux Advanced Workstation 2.1Fixed 2005-11-10RHSA-2005:806

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2005-1111.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High
  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON