GHSA-m836-gxwq-j2pm Improper Access Control in github.com/treeverse/lakefs

Not scored Published

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

  1. [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.
  2. [medium] A user with permission to write any one of tags, branches, or commits on a repository may write all of them.
  3. [low] A user with permission to read any one of tags, branches, or commits on a repository may read all of them.
  4. [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:

Which versions are affected by GHSA-m836-gxwq-j2pm?

3 open source packages ship an affected version, including github.com/treeverse/lakefs.

PackageAffectedFixed in
github.com/treeverse/lakefs GoAll versions0.53.1
github.com/treeverse/lakefs GoAll versions0.53.1
github.com/treeverse/lakefs GoAll versions0.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.

Is GHSA-m836-gxwq-j2pm in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free