GHSA-m836-gxwq-j2pm: Github.com/treeverse/lakefs Improper Access Control Vulnerability
MODERATEGHSA-m836-gxwq-j2pm is a MODERATE (CVSS 5.7) improper access control vulnerability (CWE-284: Improper Access Control) affecting Github.com/treeverse/lakefs libraries in the Go ecosystem. The issue involves improper access control in github.com/treeverse/lakefs. Remediation is available by upgrading affected packages to version 0.53.1.
GHSA-m836-gxwq-j2pm at a Glance
Security Impact
CVSS: 5.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N).
How to Fix GHSA-m836-gxwq-j2pm
To remediate this vulnerability, upgrade all affected Github.com/treeverse/lakefs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/treeverse/lakefs to 0.53.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/treeverse/lakefs
How to Check if You Are Affected
To determine whether your application is affected by GHSA-m836-gxwq-j2pm, inspect your project dependencies for Github.com/treeverse/lakefs:
inspect dependencies for github.com/treeverse/lakefs
Analyze the terminal output to locate any version of Github.com/treeverse/lakefs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.53.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Github.com/treeverse/lakefs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-m836-gxwq-j2pm Affected Github.com/treeverse/lakefs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/treeverse/lakefs
|
Go |
< 0.53.1
|
0.53.1
|
References
Frequently Asked Questions
What is GHSA-m836-gxwq-j2pm?
Which Github.com/treeverse/lakefs versions are affected?
What version fixes GHSA-m836-gxwq-j2pm?
Is github.com/treeverse/lakefs affected?
What is the CVSS score of GHSA-m836-gxwq-j2pm?
What CWE is associated with GHSA-m836-gxwq-j2pm?
How can I check Go dependencies for GHSA-m836-gxwq-j2pm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m836-gxwq-j2pm",
"modified" : "2021-10-27T18:58:30Z",
"published" : "2021-10-28T16:27:03Z",
"aliases" : [ ],
"summary" : "Improper Access Control in github.com/treeverse/lakefs",
"details" : "### Impact\n\n1. [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.\n1. [medium] A user with permission to write any one of tags, branches, or commits on a repository may write all of them.\n1. [low] A user with permission to read any one of tags, branches, or commits on a repository may read all of them.\n1. [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.\n\n### For more information\n\nIf you have any questions or comments about this advisory please:\n* Email us at security@treeverse.io.\n* Open an issue on https://github.com/treeverse/lakeFS/issues/new.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/treeverse/lakefs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.53.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/treeverse/lakeFS/security/advisories/GHSA-m836-gxwq-j2pm"
}, {
"type" : "WEB",
"url" : "https://github.com/treeverse/lakeFS/commit/f2117281cadb14fdf9ac7fe287f84d5c10308b88"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/treeverse/lakeFS"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-10-27T18:58:30Z",
"nvd_published_at" : null
}
}