{"schemaVersion":3,"id":"CVE-2005-1111","aliases":["RHSA-2005:378","DEBIAN-CVE-2005-1111"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2005-04-16T04:00:00.000Z","modified":"2024-08-07T21:35:59.943Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.7,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.7,"severity":"low","vector":"AV:L/AC:H/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":2.6,"impact":6,"computed":true}]},"epss":{"probability":0.00311,"percentile":0.2246,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00311},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00311,"percentile":0.2246}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00311,"percentile":0.2246}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/367.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"4.10","noFixRecorded":false,"fixedIn":null},{"text":"5.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.10 | 5.04","eol":{"isEol":true,"eolDate":"2006-04-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"4.10","label":"4.10 'Warty Warthog'","eolFrom":"2006-04-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"4.10"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"cpio","name":"cpio","label":"cpio","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cpio","purlType":"deb","versions":[{"text":"< 2.6-6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6-6","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"3.0","noFixRecorded":false,"fixedIn":null},{"text":"3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.0 | 3.1","eol":{"isEol":true,"eolDate":"2006-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"3.0","label":"3.0 (Woody)","eolFrom":"2006-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"3.0r6"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"gnu","product":"cpio","name":"cpio","label":"cpio","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.6","eol":null,"hubHref":"/vendor/gnu/cpio"},{"vendor":"redhat","product":"cpio","name":"cpio","label":"cpio","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/cpio","purlType":"rpm","versions":[{"text":"< 0:2.5-4.RHEL3","noFixRecorded":false,"fixedIn":null},{"text":"< 0:2.5-8.RHEL4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.5-4.RHEL3 | < 0:2.5-8.RHEL4","eol":null,"hubHref":null},{"vendor":"redhat","product":"cpio-debuginfo","name":"cpio-debuginfo","label":"cpio-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/cpio-debuginfo","purlType":"rpm","versions":[{"text":"< 0:2.5-4.RHEL3","noFixRecorded":false,"fixedIn":null},{"text":"< 0:2.5-8.RHEL4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.5-4.RHEL3 | < 0:2.5-8.RHEL4","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://marc.info/?l=bugtraq&m=111342664116120&w=2","label":"marc.info?l=bugtraq&m=111342664116120&w=2","hostname":"marc.info","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://secunia.com/advisories/17532","label":"secunia.com/advisories/17532","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link"]},{"url":"http://secunia.com/advisories/17123","label":"secunia.com/advisories/17123","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link"]},{"url":"http://www.osvdb.org/15725","label":"www.osvdb.org/15725","hostname":"www.osvdb.org","tags":["VDB Entry","X Refsource OSVDB","Broken Link"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-378.html","label":"www.redhat.com/support/errata/RHSA-2005-378.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Broken Link"]},{"url":"http://secunia.com/advisories/16998","label":"secunia.com/advisories/16998","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link"]},{"url":"http://www.securityfocus.com/bid/13159","label":"www.securityfocus.com/bid/13159","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Broken Link","Third Party Advisory"]},{"url":"http://www.debian.org/security/2005/dsa-846","label":"www.debian.org/security/2005/dsa-846","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"http://www.ubuntu.com/usn/usn-189-1","label":"www.ubuntu.com/usn/usn-189-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"http://lists.suse.com/archive/suse-security-announce/2006-May/0004.html","label":"lists.suse.com/archive/suse-security-announce/2006-May/0004.html","hostname":"lists.suse.com","tags":["Vendor Advisory","X Refsource SUSE","Broken Link"]},{"url":"http://secunia.com/advisories/20117","label":"secunia.com/advisories/20117","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9783","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9783","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Broken Link"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A358","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A358","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Broken Link"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-806.html","label":"www.redhat.com/support/errata/RHSA-2005-806.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Broken Link"]},{"url":"http://secunia.com/advisories/18395","label":"secunia.com/advisories/18395","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link"]},{"url":"http://secunia.com/advisories/18290","label":"secunia.com/advisories/18290","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link"]},{"url":"https://access.redhat.com/errata/RHSA-2005:378","label":"access.redhat.com/errata/RHSA-2005:378","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=105617","label":"bugzilla.redhat.com/show_bug.cgi?id=105617","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=144688","label":"bugzilla.redhat.com/show_bug.cgi?id=144688","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=154507","label":"bugzilla.redhat.com/show_bug.cgi?id=154507","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=155749","label":"bugzilla.redhat.com/show_bug.cgi?id=155749","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_378.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_378.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-1111","label":"access.redhat.com/security/cve/CVE-2005-1111","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617604","label":"bugzilla.redhat.com/show_bug.cgi?id=1617604","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-1111","label":"www.cve.org/CVERecord?id=CVE-2005-1111","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-1111","label":"nvd.nist.gov/vuln/detail/CVE-2005-1111","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-1111","label":"security-tracker.debian.org/tracker/CVE-2005-1111","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-846-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2005-04-16T04:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T21:35:59.943Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":19,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T06:14:49.670Z","stale":false,"partial":false}}