{"id":"CVE-2005-1111","state":"PUBLISHED","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 permission","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.","publishedAt":"2005-04-16T04:00:00.000Z","updatedAt":"2024-08-07T21:35:59.943Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://marc.info/?l=bugtraq&m=111342664116120&w=2","http://secunia.com/advisories/17532","http://secunia.com/advisories/17123","http://www.osvdb.org/15725","http://www.redhat.com/support/errata/RHSA-2005-378.html","http://secunia.com/advisories/16998","http://www.securityfocus.com/bid/13159","http://www.debian.org/security/2005/dsa-846","http://www.ubuntu.com/usn/usn-189-1","http://lists.suse.com/archive/suse-security-announce/2006-May/0004.html","http://secunia.com/advisories/20117","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9783","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A358","http://www.redhat.com/support/errata/RHSA-2005-806.html","http://secunia.com/advisories/18395","http://secunia.com/advisories/18290"],"weaknesses":[],"ingestedAt":"2026-10-29T19:27:15.710Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2005/1xxx/CVE-2005-1111.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2005-1111","state":"PUBLISHED","datePublished":"2005-04-16T04:00:00.000Z","dateUpdated":"2024-08-07T21:35:59.943Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2005-04-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://marc.info/?l=bugtraq&m=111342664116120&w=2","name":"20050413 cpio TOCTOU file-permissions vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/17532","name":"17532","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.2/SCOSA-2006.2.txt","name":"SCOSA-2006.2","tags":["vendor-advisory","x_refsource_SCO"]},{"url":"ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:03.cpio.asc","name":"FreeBSD-SA-06:03","tags":["vendor-advisory","x_refsource_FREEBSD"]},{"url":"http://secunia.com/advisories/17123","name":"17123","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.osvdb.org/15725","name":"15725","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-378.html","name":"RHSA-2005:378","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/16998","name":"16998","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/13159","name":"13159","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.debian.org/security/2005/dsa-846","name":"DSA-846","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.ubuntu.com/usn/usn-189-1","name":"USN-189-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.suse.com/archive/suse-security-announce/2006-May/0004.html","name":"SUSE-SR:2006:010","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/20117","name":"20117","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9783","name":"oval:org.mitre.oval:def:9783","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A358","name":"oval:org.mitre.oval:def:358","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-806.html","name":"RHSA-2005:806","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.32/SCOSA-2005.32.txt","name":"SCOSA-2005.32","tags":["vendor-advisory","x_refsource_SCO"]},{"url":"http://secunia.com/advisories/18395","name":"18395","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/18290","name":"18290","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-10-10T00:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2005-04-13T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2005-1111","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"20050413 cpio TOCTOU file-permissions vulnerability","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=111342664116120&w=2"},{"name":"17532","refsource":"SECUNIA","url":"http://secunia.com/advisories/17532"},{"name":"SCOSA-2006.2","refsource":"SCO","url":"ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.2/SCOSA-2006.2.txt"},{"name":"FreeBSD-SA-06:03","refsource":"FREEBSD","url":"ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:03.cpio.asc"},{"name":"17123","refsource":"SECUNIA","url":"http://secunia.com/advisories/17123"},{"name":"15725","refsource":"OSVDB","url":"http://www.osvdb.org/15725"},{"name":"RHSA-2005:378","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2005-378.html"},{"name":"16998","refsource":"SECUNIA","url":"http://secunia.com/advisories/16998"},{"name":"13159","refsource":"BID","url":"http://www.securityfocus.com/bid/13159"},{"name":"DSA-846","refsource":"DEBIAN","url":"http://www.debian.org/security/2005/dsa-846"},{"name":"USN-189-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-189-1"},{"name":"SUSE-SR:2006:010","refsource":"SUSE","url":"http://lists.suse.com/archive/suse-security-announce/2006-May/0004.html"},{"name":"20117","refsource":"SECUNIA","url":"http://secunia.com/advisories/20117"},{"name":"oval:org.mitre.oval:def:9783","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9783"},{"name":"oval:org.mitre.oval:def:358","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A358"},{"name":"RHSA-2005:806","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2005-806.html"},{"name":"SCOSA-2005.32","refsource":"SCO","url":"ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.32/SCOSA-2005.32.txt"},{"name":"18395","refsource":"SECUNIA","url":"http://secunia.com/advisories/18395"},{"name":"18290","refsource":"SECUNIA","url":"http://secunia.com/advisories/18290"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://marc.info/?l=bugtraq&m=111342664116120&w=2","name":"20050413 cpio TOCTOU file-permissions vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/17532","name":"17532","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.2/SCOSA-2006.2.txt","name":"SCOSA-2006.2","tags":["vendor-advisory","x_refsource_SCO","x_transferred"]},{"url":"ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:03.cpio.asc","name":"FreeBSD-SA-06:03","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred"]},{"url":"http://secunia.com/advisories/17123","name":"17123","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.osvdb.org/15725","name":"15725","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-378.html","name":"RHSA-2005:378","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://secunia.com/advisories/16998","name":"16998","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/13159","name":"13159","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.debian.org/security/2005/dsa-846","name":"DSA-846","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-189-1","name":"USN-189-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.suse.com/archive/suse-security-announce/2006-May/0004.html","name":"SUSE-SR:2006:010","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/20117","name":"20117","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9783","name":"oval:org.mitre.oval:def:9783","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A358","name":"oval:org.mitre.oval:def:358","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-806.html","name":"RHSA-2005:806","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.32/SCOSA-2005.32.txt","name":"SCOSA-2005.32","tags":["vendor-advisory","x_refsource_SCO","x_transferred"]},{"url":"http://secunia.com/advisories/18395","name":"18395","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/18290","name":"18290","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T21:35:59.943Z"}}]}}}