Path traversal in Linux kernel - CVE-2015-2925
Published: December 21, 2016 / Updated: April 16, 2018
Vulnerability identifier: #VU2597
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-2925
CWE-ID: CWE-22
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local attacker to gain elevated privileges on the target system.
The weakness exists in the prepend_path function in fs/dcache.c due to improper handling of rename actions inside a bind mount. A local attacker can bypass an intended container protection mechanism by renaming a directory, related to a "double-chroot attack" and gain root privileges.
The weakness exists in the prepend_path function in fs/dcache.c due to improper handling of rename actions inside a bind mount. A local attacker can bypass an intended container protection mechanism by renaming a directory, related to a "double-chroot attack" and gain root privileges.
Affected software
Linux kernel
Red Hat Enterprise Linux Server from RHUI
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Debian Linux
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support from RHUI
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Ubuntu
Fedora
kernel (Red Hat package)
linux-2.6 (Debian package)
linux (Ubuntu package)
linux-lts-trusty (Ubuntu package)
linux-lts-utopic (Ubuntu package)
linux-lts-vivid (Ubuntu package)
kernel
Red Hat Enterprise Linux Server from RHUI
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Debian Linux
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support from RHUI
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Ubuntu
Fedora
kernel (Red Hat package)
linux-2.6 (Debian package)
linux (Ubuntu package)
linux-lts-trusty (Ubuntu package)
linux-lts-utopic (Ubuntu package)
linux-lts-vivid (Ubuntu package)
kernel
How to mitigate CVE-2015-2925
Update to version 4.2.4.
kernel (Red Hat package) - update to 2.6.32-573.12.1.el6
linux-2.6 (Debian package) - update to 2.6.32-48squeeze16
linux (Ubuntu package) - addressed in versions 3.2.0-93.133, 3.13.0-67.110, 3.19.0-32.37
linux-lts-trusty (Ubuntu package) - update to 3.13.0-67.110~precise1
linux-lts-utopic (Ubuntu package) - update to 3.16.0-52.71~14.04.1
linux-lts-vivid (Ubuntu package) - update to 3.19.0-32.37~14.04.1
kernel - addressed in versions 4.1.10-100.fc21, 4.1.10-200.fc22, 4.2.3-300.fc23
linux-2.6 (Debian package) - update to 2.6.32-48squeeze16
linux (Ubuntu package) - addressed in versions 3.2.0-93.133, 3.13.0-67.110, 3.19.0-32.37
linux-lts-trusty (Ubuntu package) - update to 3.13.0-67.110~precise1
linux-lts-utopic (Ubuntu package) - update to 3.16.0-52.71~14.04.1
linux-lts-vivid (Ubuntu package) - update to 3.19.0-32.37~14.04.1
kernel - addressed in versions 4.1.10-100.fc21, 4.1.10-200.fc22, 4.2.3-300.fc23
External References
Related Security Bulletins
- Multiple vulnerabilities in Linux Kernel
- Red Hat update for kernel
- Fedora 22 update for kernel
- Fedora 21 update for kernel
- Fedora 23 update for kernel
- Ubuntu update for linux
- Ubuntu update for linux
- Ubuntu update for linux-lts-vivid
- Ubuntu update for linux-lts-utopic
- Ubuntu update for linux-lts-trusty
- Ubuntu update for linux
- Debian update for linux-2.6