Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829220 (CVE-2021-43820) - net-misc/seafile: insufficient cached access token access control (CVE-2021-43820)
Summary: net-misc/seafile: insufficient cached access token access control (CVE-2021-4...
Status: RESOLVED INVALID
Alias: CVE-2021-43820
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/haiwen/seafile-ser...
Whiteboard: B4 [ebuild]
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-15 00:40 UTC by John Helmert III
Modified: 2021-12-15 21:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-12-15 00:40:17 UTC
CVE-2021-43820:

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.

Please bump to 8.0.8.
Comment 1 Quentin Retornaz 2021-12-15 16:53:53 UTC
Hello, as far as I can see, et only affets seafile-server which is not not in portage tree at the time on writing.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-12-15 21:19:12 UTC
Alright, I guess this is invalid then.