CVE-2005-1111
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.
Severity
MEDIUM
CVSS v3
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N · source nvd
Exploit chance (EPSS)
0.311%
chance of exploitation in the next 30 days
higher than 24.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-59: Improper Link Resolution Before File Access
- CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
Timeline
- 2005-04-16Published by the CNA04:00 UTC
Affected products
| Vendor | Product |
|---|---|
| canonical | ubuntu_linux |
| debian | debian_linux |
| gnu | cpio |
References
- ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:03.cpio.asc
- ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.2/SCOSA-2006.2.txt
- ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.32/SCOSA-2005.32.txt
- http://lists.suse.com/archive/suse-security-announce/2006-May/0004.html
- http://www.debian.org/security/2005/dsa-846
- http://www.redhat.com/support/errata/RHSA-2005-378.html
- http://www.redhat.com/support/errata/RHSA-2005-806.html
- http://www.ubuntu.com/usn/usn-189-1
- http://marc.info/?l=bugtraq&m=111342664116120&w=2
- http://secunia.com/advisories/16998
- http://secunia.com/advisories/17123
- http://secunia.com/advisories/17532
- http://secunia.com/advisories/18290
- http://secunia.com/advisories/18395
- http://secunia.com/advisories/20117
- http://www.osvdb.org/15725
- http://www.securityfocus.com/bid/13159
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A358
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9783
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2005-1111'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2005-1111'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2005-1111'curl 'https://api.contrastcyber.com/cve_products/CVE-2005-1111'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).