CVE-2015-1865
Medium · 5.1CVSS
5.1
EPSS
0.3%
Published
Sep 20, 2017
CISA due date
—
Cloudanix analysis
A problem in basic system tools can let someone already on the computer erase any files they choose, which risks breaking programs and losing important information.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Race Condition
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A race condition in file system traversal code (fts.c) permits a local attacker to manipulate paths during operations, resulting in deletion of arbitrary files instead of intended targets.
Why it matters to the business
Local attackers can cause data loss, service disruption, or system instability by deleting critical files, increasing operational risk and potential recovery costs in environments using affected packages.
How an attack unfolds
An attacker with local system access identifies a process relying on vulnerable coreutils, exploits timing windows in file traversal to substitute paths, and forces deletion of chosen files outside the intended scope.
How to fix it
Upgrade prometheus-mysqld-exporter to 0.15.1-r7 or later on Chainguard and Wolfi distributions; replace any coreutils 8.4 instances with patched equivalents and verify no vulnerable packages remain in the environment.
How to confirm the fix worked
Confirm prometheus-mysqld-exporter version is 0.15.1-r7 or newer via package manager queries; test coreutils utilities for the absence of the fts.c race condition and review dependency trees for affected versions.
Typical attack path
- Obtain local access to the target system
- Locate processes or scripts invoking vulnerable coreutils utilities
- Trigger and time the race condition to redirect file deletion operations
- Achieve deletion of arbitrary files for disruption or further access
How to detect it
Review system logs for unexpected invocations of rm, find, or similar utilities; monitor for file deletion events on non-application paths and correlate with processes using coreutils.
What your security team should do
- Apply the specified package upgrades immediately due to the long exposure window since 2017
- Limit local user privileges and sandbox processes that invoke file utilities
- Implement file integrity monitoring on critical paths to detect anomalous deletions
The record
fts.c in coreutils 8.4 allows local users to delete arbitrary files.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | coreutils | 0 | 8.13-1 |
| Debian:11 | coreutils | 0 | 8.13-1 |
| Debian:12 | coreutils | 0 | 8.13-1 |
| Debian:13 | coreutils | 0 | 8.13-1 |
Related vulnerabilities
- CVE-2016-2781 chroot in GNU coreutils, when used with --userspec, allows local users to escape to the… Also affects coreutils
- CVE-2014-9471 The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of… Also affects coreutils
- CVE-2025-5278 A flaw was found in GNU Coreutils. Also affects coreutils
- CVE-2003-0853 An integer overflow in ls in the fileutils or coreutils packages may allow local users to… Also affects coreutils
- CVE-2026-121230 Race condition in ANGLE in Google Chrome prior to 157.0.8103.38 allowed a remote attacker… CWE-362
- CVE-2026-121079 Race condition in V8 in Google Chrome prior to 157.0.8103.38 allowed a remote attacker to… CWE-362
- CVE-2026-121628 Bagisto before 2.3.16 and 2.4.x before 2.4.1 contains a race condition vulnerability in… CWE-362
- CVE-2026-121408 FreeRDP before 3.32.2 contains a use-after-free in the urbdrc USB redirection channel… CWE-362