aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-02-02 08:58:27 -0800
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-02-02 08:59:23 -0800
commitc41b1a5e7ef1c530946f7cb77dd982899f7d80db (patch)
tree8a065045fc11b1296774b143eb85b817567c81de /README.md
parent43138fbe907c6c92c66fc26f7f169a1817912001 (diff)
Fix description of bug #15.
Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 19 insertions, 9 deletions
diff --git a/README.md b/README.md
index fb10690..ce72fef 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,25 @@
libfuse
=======
+Warning: unresolved security issue
+----------------------------------
+
+Be aware that FUSE has an unresolved security bug
+([bug #15](https://github.com/libfuse/libfuse/issues/15)): the
+permission check for accessing a cached directory is only done once
+when the directory entry is first loaded into the cache. Subsequent
+accesses will re-use the results of the first check, even if the
+directory permissions have since changed, and even if the subsequent
+access is made by a different user.
+
+This bug needs to be fixed in the Linux kernel and has been known
+since 2006 but unfortunately no fix has been applied yet. If you
+depend on correct permission handling for FUSE file systems, the only
+workaround is to completely disable caching of directory
+entries. Alternatively, the severity of the bug can be somewhat
+reduced by not using the `allow_other` mount option.
+
+
About
-----
@@ -65,15 +84,6 @@ doing nasty things. Currently those limitations are:
mounted filesystem (though this can be relaxed by allowing the use
of the `allow_other` and `allow_root` mount options in `fuse.conf`)
-When using the `allow_other` option, be aware of
-[bug #15](https://github.com/libfuse/libfuse/issues/15): the
-permission to access a cached directory entry is only checked for the
-first user that accesses it. As long as the directory entry is cached,
-accesses by other users are made with the permissions of the first
-user. The only work around for this bug is to disable caching of
-directory entries, or to not use `allow_other`.
-
-
Building your own filesystem
------------------------------