ID CVE-2005-1111
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:gnu:cpio:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:cpio:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:cpio:1.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:cpio:1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:cpio:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:cpio:1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:cpio:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:cpio:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:cpio:2.4-2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:cpio:2.4-2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:cpio:2.5:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:cpio:2.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:cpio:2.5.90:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:cpio:2.5.90:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:cpio:2.6:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:cpio:2.6:*:*:*:*:*:*:*
CVSS
Base: 3.7 (as of 11-10-2017 - 01:30)
Impact:
Exploitability:
CWE NVD-CWE-Other
CAPEC
Access
VectorComplexityAuthentication
LOCAL HIGH NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:H/Au:N/C:P/I:P/A:P
oval via4
  • accepted 2005-09-21T01:33:00.000-04:00
    class vulnerability
    contributors
    name Jay Beale
    organization Bastille Linux
    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.
    family unix
    id oval:org.mitre.oval:def:358
    status accepted
    submitted 2005-08-08T12:00:00.000-04:00
    title cpio Race Condition
    version 4
  • accepted 2013-04-29T04:22:09.996-04:00
    class vulnerability
    contributors
    • name Aharon Chernin
      organization SCAP.com, LLC
    • name Dragos Prisaca
      organization G2, Inc.
    definition_extensions
    • comment The operating system installed on the system is Red Hat Enterprise Linux 3
      oval oval:org.mitre.oval:def:11782
    • comment CentOS Linux 3.x
      oval oval:org.mitre.oval:def:16651
    • comment The operating system installed on the system is Red Hat Enterprise Linux 4
      oval oval:org.mitre.oval:def:11831
    • comment CentOS Linux 4.x
      oval oval:org.mitre.oval:def:16636
    • comment Oracle Linux 4.x
      oval oval:org.mitre.oval:def:15990
    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.
    family unix
    id oval:org.mitre.oval:def:9783
    status accepted
    submitted 2010-07-09T03:56:16-04:00
    title 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.
    version 23
redhat via4
advisories
  • rhsa
    id RHSA-2005:378
  • rhsa
    id RHSA-2005:806
refmap via4
bid 13159
bugtraq 20050413 cpio TOCTOU file-permissions vulnerability
debian DSA-846
freebsd FreeBSD-SA-06:03
osvdb 15725
sco
  • SCOSA-2005.32
  • SCOSA-2006.2
secunia
  • 16998
  • 17123
  • 17532
  • 18290
  • 18395
  • 20117
suse SUSE-SR:2006:010
ubuntu USN-189-1
statements via4
contributor Mark J Cox
lastmodified 2007-03-14
organization Red Hat
statement Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.
Last major update 11-10-2017 - 01:30
Published 02-05-2005 - 04:00
Back to Top