CVEvulnerability

CVE-2005-1111

4.7 MEDIUM Published 2005-05-02 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2005-05-02
Last modified
2026-06-16
Assigner
[email protected]
CVSS 3.1 ([email protected])
4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
3.7 LOW — AV:L/AC:H/Au:N/C:P/I:P/A:P
Weaknesses
CWE-367, CWE-59

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.

Affected configurations

• gnu cpio (<= 2.6) • debian debian linux 3.0 • debian debian linux 3.1 • canonical ubuntu linux 4.10 • canonical ubuntu linux 5.04

Related

Weakness · CWE (2)

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition weakness
  • CWE-59 Improper Link Resolution Before File Access weakness

Referenced by CWE · observed example (2)

  • CWE-59 Improper Link Resolution Before File Access weakness
  • CWE-62 UNIX Hard Link weakness

References