Bug 1193756 - (CVE-2021-43820) VUL-0: CVE-2021-43820: seafile: misuse of cached token leading to access to unauthorized library data
VUL-0: CVE-2021-43820: seafile: misuse of cached token leading to access to u...
Status: NEW
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Security
Leap 15.3
Other Other
: P3 - Medium : Normal (vote)
: ---
Assigned To: Rick Salevsky
Security Team bot
Depends on:
  Show dependency treegraph
Reported: 2021-12-15 10:18 UTC by Thomas Leroy
Modified: 2021-12-15 11:15 UTC (History)
0 users

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Leroy 2021-12-15 10:18:10 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.

Comment 1 Thomas Leroy 2021-12-15 10:31:41 UTC
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.