CVE-2015-8860
High · 7.5CVSS
7.5
EPSS
4.0%
Published
Jan 23, 2017
CISA due date
—
Cloudanix analysis
A flaw in how certain software unpacks archive files can let attackers secretly replace important system files, potentially breaking applications or giving them unauthorized control.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Library
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
The vulnerability permits a malicious tar archive containing symlinks to cause extraction to write files outside the intended destination directory, resulting in arbitrary file writes on the filesystem.
Why it matters to the business
Attackers can tamper with or overwrite critical system and application files, leading to data corruption, service disruption, or unauthorized persistence in affected environments.
How an attack unfolds
An attacker creates a specially crafted tar archive embedding symlinks pointing outside the target directory, then supplies the archive to any process using the vulnerable tar package for extraction; the package follows the symlinks and writes attacker-controlled content to arbitrary locations.
How to fix it
Upgrade affected Chainguard mysql-8.0 packages to version 8.0.38-r0 or later; replace any older tar package dependency with a version 2.0.0 or newer.
How to confirm the fix worked
Verify package versions match or exceed the fixed releases; test extraction of a benign symlink-containing archive to confirm writes remain confined to the destination directory.
Typical attack path
- Craft malicious tar archive containing symlinks and payload files
- Deliver archive to a service or script that invokes the vulnerable tar extraction
- Trigger extraction of the archive
- Arbitrary files are overwritten via symlink traversal
How to detect it
Review application and container logs for unexpected file writes or permission changes during archive extraction; inspect process execution for tar invocations handling untrusted archives; monitor for creation of files outside expected directories.
What your security team should do
- Immediately update all listed mysql-8.0 Chainguard images to 8.0.38-r0
- Scan container images and build pipelines for any remaining vulnerable tar package versions
- Implement least-privilege extraction directories and archive validation in application code
The record
The tar package before 2.0.0 for Node.js allows remote attackers to write to arbitrary files via a symlink attack in an archive.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | tar | 0 | 2.0.0 |
| Debian:10 | node-tar | 0 | 2.2.1-1 |
| Debian:11 | node-tar | 0 | 2.2.1-1 |
| Debian:12 | node-tar | 0 | 2.2.1-1 |
| Debian:13 | node-tar | 0 | 2.2.1-1 |
| Ubuntu:18.04:LTS | node-tar | 0 | 2.2.1-1 |
| Ubuntu:Pro:14.04:LTS | node-tar | 0 | 0.1.18-1ubuntu0.1~esm1 |
| Ubuntu:Pro:16.04:LTS | node-tar | 0 | 1.0.3-2ubuntu0.1~esm1 |
Related vulnerabilities
- CVE-2026-53655 node-tar is a full-featured Tar for Node.js. Also affects tar
- GHSA-vmf3-w455-68vh node-tar applies PAX size override to intermediary GNU long-name/long-link headers… Also affects tar
- GHSA-9ppj-qmqm-q256 node-tar Symlink Path Traversal via Drive-Relative Linkpath Also affects tar
- CVE-2026-31802 node-tar is a full-featured Tar for Node.js. Also affects tar
- CVE-2026-29786 node-tar is a full-featured Tar for Node.js. Also affects tar
- GHSA-qffp-2rhf-9h96 tar has Hardlink Path Traversal via Drive-Relative Linkpath Also affects tar
- CVE-2026-26960 node-tar is a full-featured Tar for Node.js. Also affects tar
- GHSA-83g3-92jg-28cx Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar… Also affects tar