BusyBox arbitrary file overwrite in cpio extraction
Red Hat Enterprise Linux 6 · Red Hat Hardened Images
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat Enterprise Linux 6 | — | No fix yet |
| Red Hat Red Hat Hardened Images | — | No fix yet |
Original description
A flaw was found in BusyBox. When extracting files using the cpio utility with path traversal protection enabled, hardlink target paths are not properly sanitized. By tricking a user or automated process into extracting a crafted archive, an attacker can create hardlinks that point to files outside the intended extraction directory. This issue may allow an attacker to modify or overwrite arbitrary files outside the target directory during subsequent extraction operations.
From the CVE record · redhat