GHSA-m836-gxwq-j2pm Improper Access Control in github.com/treeverse/lakefs
Users with limited write or read permissions can bypass access controls to read or modify unauthorized repository objects and metadata.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-m836-gxwq-j2pm?
GHSA-m836-gxwq-j2pm is a missing authorization vulnerability in github.com/treeverse/lakefs, published on 28 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Impact
- [medium] A user with write permissions to a portion of a repository may use the S3 gateway to copy any object in the repository if they know its name.
- [medium] A user with permission to write any one of tags, branches, or commits on a repository may write all of them.
- [low] A user with permission to read any one of tags, branches, or commits on a repository may read all of them.
- [low] A user allowed to list objects in a repository or read repository meta-data may retrieve graveler information about the location on underlying storage of all objects stored in any commit that they can view. If the user additionally has the capability to read underlying storage, they will be able to retrieve metadata associated with all objects in that commit.
For more information
If you have any questions or comments about this advisory please:
- Email us at [email protected].
- Open an issue on https://github.com/treeverse/lakeFS/issues/new.
Which versions are affected by GHSA-m836-gxwq-j2pm?
3 open source packages ship an affected version, including github.com/treeverse/lakefs.
| Package | Affected | Fixed in |
|---|---|---|
github.com/treeverse/lakefs Go | All versions | 0.53.1 |
github.com/treeverse/lakefs Go | All versions | 0.53.1 |
github.com/treeverse/lakefs Go | All versions | 0.53.1 |
How do I fix GHSA-m836-gxwq-j2pm?
Upgrade github.com/treeverse/lakefs to 0.53.1 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is GHSA-m836-gxwq-j2pm being exploited?
There is no known exploitation of GHSA-m836-gxwq-j2pm in the wild and no public exploit code.
Sources
Also known as GO-2022-0375.