{"id":"CVE-2015-2925","published":"2015-11-16T11:00:00Z","modified":"2024-08-06T05:32:20Z","title":"The prepend_path function in fs/dcache.c in the Linux kernel before 4.2.4 does not properly handle rename actions…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\"","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01649,"percentile":0.77095,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00018.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-2636.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.debian.org/security/2015/dsa-3372","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://permalink.gmane.org/gmane.linux.kernel.containers/29173","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0068.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f22&id=520b64102de2f184036024b2a53de2b67463bd78","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00009.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.ubuntu.com/usn/USN-2792-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/73926","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00034.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.debian.org/security/2015/dsa-3364","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.ubuntu.com/usn/USN-2794-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/USN-2799-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/USN-2795-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00005.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00017.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00007.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html","tags":["x_refsource_CONFIRM"]},{"url":"http://permalink.gmane.org/gmane.linux.kernel.containers/29177","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00019.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cde93be45a8a90d8c264c776fab63487b5038a65","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00021.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.openwall.com/lists/oss-security/2015/04/04/4","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1209367","tags":["x_refsource_CONFIRM"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=397d425dc26da728396e66d392d5dcb8dac30c37","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00020.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1209373","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00022.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00018.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.ubuntu.com/usn/USN-2798-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":15.42},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2015-06-30","earliestUrl":"https://github.com/Kagami/docker_cve-2015-2925","repos":[{"name":"Kagami/docker_cve-2015-2925","url":"https://github.com/Kagami/docker_cve-2015-2925","stars":11,"created":"2015-06-30"}]},"first":{"date":"2015-06-30","source":"PoC-in-GitHub","url":"https://github.com/Kagami/docker_cve-2015-2925"},"provenance":"source"},"euvd":{"id":"EUVD-2015-3010","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-linux-kernel-cve-2009-4307","parents":[{"from":"CVE-2014-0203","to":"CVE-2015-2925","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/namei.c"],"commits":["https://github.com/torvalds/linux/commit/86acdca1b63e6890540fa19495cfc708beff3d8b","https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65","https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37"],"basis":"shared function","functions":["path"]}]},{"from":"CVE-2014-5045","to":"CVE-2015-2925","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/namei.c"],"commits":["https://github.com/torvalds/linux/commit/295dc39d941dc2ae53d5c170365af4c9d5c16212","https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65","https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37"],"basis":"shared function","functions":["nameidata"]}]}],"children":[{"from":"CVE-2015-2925","to":"CVE-2017-7533","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/dcache.c"],"commits":["https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65","https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37","https://github.com/torvalds/linux/commit/49d31c2f389acfe83417083e1208422b4091cd9e"],"basis":"rarely changed file"}]},{"from":"CVE-2015-2925","to":"CVE-2020-8428","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/namei.c"],"commits":["https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65","https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37","https://github.com/torvalds/linux/commit/d0cb50185ae942b03c4327be322055d622dc79f6"],"basis":"shared function","functions":["nameidata","path"]}]}]}}