CVE-2005-1111

Summary

CVECVE-2005-1111
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2005-05-02 04:00:00 UTC
Updated2025-04-03 01:03:51 UTC
DescriptionRace 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.

Risk And Classification

Primary CVSS: v3.1 4.7 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Problem Types: CWE-59 | CWE-367 | n/a


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary4.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
2.0[email protected]Primary3.7AV:L/AC:H/Au:N/C:P/I:P/A:P

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
High
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:L/AC:H/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 4.10 All All All
Operating System Canonical Ubuntu Linux 5.04 All All All
Operating System Debian Debian Linux 3.0 All All All
Operating System Debian Debian Linux 3.1 All All All
Application Gnu Cpio All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.2/SCOSA-2006.2.txt af854a3a-2127-422b-91ae-364da2661108 ftp.sco.com Broken Link
www.osvdb.org/15725 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org Broken Link
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Broken Link
SUSE Updates for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
SuSE Security announcements: [suse-security-announce] SUSE Security Summary Report SUSE-SR:2006:010 af854a3a-2127-422b-91ae-364da2661108 lists.suse.com Broken Link
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Broken Link
ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:03.cpio.asc af854a3a-2127-422b-91ae-364da2661108 ftp.freebsd.org Broken Link
'cpio TOCTOU file-permissions vulnerability' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Mailing List
Secunia - Advisories - Ubuntu update for cpio af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Secunia - Advisories - SCO OpenServer update for cpio af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.32/SCOSA-2005.32.txt af854a3a-2127-422b-91ae-364da2661108 ftp.sco.com Broken Link
Secunia - Advisories - FreeBSD update for cpio af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Broken Link
usn/usn-189-1 - Ubuntu Linux af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
CPIO CHMod File Permission Modification Race Condition Weakness af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Broken Link, Third Party Advisory, VDB Entry
Secunia - Advisories - Debian update for cpio af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Debian -- Security Information -- DSA-846-1 cpio af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Broken Link
Secunia - Advisories - Red Hat update for cpio af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-03-14Mark J CoxRed Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report