CVE-2015-2925: Path Traversal

Published Apr 3, 2015
·
Updated

A flaw was found in the way the Linux kernel's file system implementation handled rename operations in which the source was inside and the destination was outside of a bind mount. A privileged user inside a container could use this flaw to escape the bind mount and, potentially, escalate their privileges on the system.

Other sources

Linux kernel built with the name spaces support(CONFIGNAMESPACE) is vulnerable to a potential privilege escalation flaw. It could occur when a process within a container escapes the intended bind mounts to access the full file system.

A privileged user inside a container could use this flaw to potentially gain full privileges on a system.

Upstream fix: ------------- -> http://permalink.gmane.org/gmane.linux.kernel.containers/29177

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2015/04/03/7

Red Hat

The prependpath function in fs/dcache.c in the Linux kernel before 4.2.4 does not properly handle rename actions inside a bind mount, which allows local users to bypass an intended container protection mechanism by renaming a directory, related to a "double-chroot attack."

Affected Software

21 affected componentsFixes available
redhat/kernel<0:2.6.32-573.12.1.el6
0:2.6.32-573.12.1.el6
redhat/kernel-rt<0:3.10.0-327.rt56.204.el7
0:3.10.0-327.rt56.204.el7
redhat/kernel<0:3.10.0-327.el7
0:3.10.0-327.el7
redhat/kernel<0:3.10.0-229.24.2.el7
0:3.10.0-229.24.2.el7
redhat/kernel-rt<1:3.10.0-327.rt56.170.el6
1:3.10.0-327.rt56.170.el6
Linux Linux kernel<=4.2.3
Linux Linux kernel<3.2.72
Linux Linux kernel>=3.3<3.4.110
Linux Linux kernel>=3.5<3.10.91
Linux Linux kernel>=3.11<3.12.49
Linux Linux kernel>=3.13<3.14.55
Linux Linux kernel>=3.15<3.16.35
Linux Linux kernel>=3.17<3.18.23
Linux Linux kernel>=3.19<4.1.11
Linux Linux kernel>=4.2<4.2.4
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.04
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Apr 3, 2015
CVE Published
12:00 AM
Apr 7, 2015
Data Sourced
via Red Hat·08:16 AM
DescriptionSeverityAffected Software
Nov 16, 2015
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:12 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:08 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·03:20 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this flaw?

The vulnerability ID for this flaw is CVE-2015-2925.

2

What is the severity level of CVE-2015-2925?

CVE-2015-2925 has a severity level of high (7).

3

How does the vulnerability in CVE-2015-2925 affect Linux kernel versions?

The vulnerability in CVE-2015-2925 affects Linux kernel versions before 4.2.4.

4

What is the impact of CVE-2015-2925?

CVE-2015-2925 allows a privileged user inside a container to escape a bind mount, potentially escalating their privileges.

5

Are there any references or additional information available about CVE-2015-2925?

Yes, you can find more information about CVE-2015-2925 in the references: [1], [2], [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203