CVE-2015-2925

MEDIUM

Description

The prepend_path 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."

References

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=397d425dc26da728396e66d392d5dcb8dac30c37

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cde93be45a8a90d8c264c776fab63487b5038a65

http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00005.html

http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00018.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00007.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00009.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00017.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00018.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00019.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00020.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00021.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00022.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00034.html

http://permalink.gmane.org/gmane.linux.kernel.containers/29173

http://permalink.gmane.org/gmane.linux.kernel.containers/29177

http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f22&id=520b64102de2f184036024b2a53de2b67463bd78

http://rhn.redhat.com/errata/RHSA-2015-2636.html

http://rhn.redhat.com/errata/RHSA-2016-0068.html

http://www.debian.org/security/2015/dsa-3364

http://www.debian.org/security/2015/dsa-3372

http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4

http://www.openwall.com/lists/oss-security/2015/04/04/4

http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html

http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html

http://www.securityfocus.com/bid/73926

http://www.ubuntu.com/usn/USN-2792-1

http://www.ubuntu.com/usn/USN-2794-1

http://www.ubuntu.com/usn/USN-2795-1

http://www.ubuntu.com/usn/USN-2798-1

http://www.ubuntu.com/usn/USN-2799-1

https://bugzilla.redhat.com/show_bug.cgi?id=1209367

https://bugzilla.redhat.com/show_bug.cgi?id=1209373

https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37

https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65

Details

Source: MITRE

Published: 2015-11-16

Updated: 2018-01-05

Type: CWE-254

Risk Information

CVSS v2.0

Base Score: 6.9

Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.4

Severity: MEDIUM

Vulnerable Software

Configuration 1

OR

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to 4.2.3 (inclusive)

Tenable Plugins

View all (32 total)

IDNameProductFamilySeverity
124977EulerOS Virtualization for ARM 64 3.0.1.0 : kernel (EulerOS-SA-2019-1524)NessusHuawei Local Security Checks
high
124811EulerOS Virtualization 3.0.1.0 : kernel (EulerOS-SA-2019-1487)NessusHuawei Local Security Checks
high
99781EulerOS 2.0 SP1 : kernel (EulerOS-SA-2016-1018)NessusHuawei Local Security Checks
medium
89435Fedora 22 : kernel-4.1.10-200.fc22 (2015-dcc260f2f2)NessusFedora Local Security Checks
medium
89427Fedora 21 : kernel-4.1.10-100.fc21 (2015-d7e074ba30)NessusFedora Local Security Checks
medium
89222Fedora 23 : kernel-4.2.3-300.fc23 (2015-43145298f4)NessusFedora Local Security Checks
medium
88572RHEL 7 : kernel (RHSA-2015:2587)NessusRed Hat Local Security Checks
medium
88571RHEL 7 : kernel-rt (RHSA-2015:2411)NessusRed Hat Local Security Checks
medium
88545openSUSE Security Update : the Linux Kernel (openSUSE-2016-124)NessusSuSE Local Security Checks
critical
88405RHEL 6 : MRG (RHSA-2016:0068)NessusRed Hat Local Security Checks
high
87905F5 Networks BIG-IP : Linux kernel vulnerabilities (K31026324)NessusF5 Networks Local Security Checks
medium
87559Scientific Linux Security Update : kernel on SL7.x x86_64 (20151119)NessusScientific Linux Local Security Checks
medium
87495SUSE SLED12 / SLES12 Security Update : kernel (SUSE-SU-2015:2292-1)NessusSuSE Local Security Checks
medium
87403Scientific Linux Security Update : kernel on SL6.x i386/x86_64 (20151215)NessusScientific Linux Local Security Checks
medium
87398RHEL 6 : kernel (RHSA-2015:2636)NessusRed Hat Local Security Checks
medium
87396Oracle Linux 6 : kernel (ELSA-2015-2636)NessusOracle Linux Local Security Checks
medium
87381CentOS 6 : kernel (CESA-2015:2636)NessusCentOS Local Security Checks
medium
87214SUSE SLED12 / SLES12 Security Update : kernel (SUSE-SU-2015:2194-1)NessusSuSE Local Security Checks
medium
87135CentOS 7 : kernel (CESA-2015:2152)NessusCentOS Local Security Checks
high
87090Oracle Linux 7 : kernel (ELSA-2015-2152)NessusOracle Linux Local Security Checks
high
86972RHEL 7 : kernel (RHSA-2015:2152)NessusRed Hat Local Security Checks
high
86789Ubuntu 15.04 : linux vulnerabilities (USN-2799-1)NessusUbuntu Local Security Checks
medium
86788Ubuntu 14.04 LTS : linux-lts-vivid vulnerabilities (USN-2798-1)NessusUbuntu Local Security Checks
medium
86787Ubuntu 14.04 LTS : linux-lts-utopic vulnerabilities (USN-2797-1)NessusUbuntu Local Security Checks
medium
86786Ubuntu 12.04 LTS : linux-lts-trusty vulnerabilities (USN-2795-1)NessusUbuntu Local Security Checks
medium
86785Ubuntu 14.04 LTS : linux vulnerabilities (USN-2794-1)NessusUbuntu Local Security Checks
medium
86783Ubuntu 12.04 LTS : linux vulnerabilities (USN-2792-1)NessusUbuntu Local Security Checks
medium
86668openSUSE Security Update : the Linux Kernel (openSUSE-2015-686)NessusSuSE Local Security Checks
high
86634Amazon Linux AMI : kernel (ALAS-2015-603)NessusAmazon Linux Local Security Checks
critical
86375Debian DSA-3372-1 : linux - security updateNessusDebian Local Security Checks
medium
86357Debian DLA-325-1 : linux-2.6 security updateNessusDebian Local Security Checks
medium
86050Debian DSA-3364-1 : linux - security updateNessusDebian Local Security Checks
medium