Bugzilla – Bug 1193756
VUL-0: CVE-2021-43820: seafile: misuse of cached token leading to access to unauthorized library data
Last modified: 2021-12-15 11:15:49 UTC
Seafile is an open source cloud storage system. A sync token is used in Seafile
file syncing protocol to authorize access to library data. To improve
performance, the token is cached in memory in seaf-server. Upon receiving a
token from sync client or SeaDrive client, the server checks whether the token
exist in the cache. However, if the token exists in cache, the server doesn't
check whether it's associated with the specific library in the URL. This
vulnerability makes it possible to use any valid sync token to access data from
any **known** library. Note that the attacker has to first find out the ID of a
library which it has no access to. The library ID is a random UUID, which is not
possible to be guessed. There are no workarounds for this issue.
This vulnerability is present in seafile-server. But recent versions of seafile don't contain the server code anymore.
Every seafile package contained in maintained codestreams are equal are more recent than v7.10.0, and this versions doesn't contain the server code. I think we are not affected.