CVE-2014-5206

HIGH

Description

The do_remount function in fs/namespace.c in the Linux kernel through 3.16.1 does not maintain the MNT_LOCK_READONLY bit across a remount of a bind mount, which allows local users to bypass an intended read-only restriction and defeat certain sandbox protection mechanisms via a "mount -o remount" command within a user namespace.

References

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a6138db815df5ee542d848318e5dae681590fccd

http://www.openwall.com/lists/oss-security/2014/08/13/4

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

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

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

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

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

Details

Source: MITRE

Published: 2014-08-18

Updated: 2017-01-07

Type: CWE-264

Risk Information

CVSS v2.0

Base Score: 7.2

Vector: (AV:L/AC:L/Au:N/C:C/I:C/A:C)

Impact Score: 10

Exploitability Score: 3.9

Severity: HIGH