GHSA-28q9-9c3g-v3f9: Github.com/treeverse/lakefs LakeFS Vulnerable To Authenticated Users Vulnerability
HIGHGHSA-28q9-9c3g-v3f9 is a HIGH lakefs vulnerable to authenticated users vulnerability (CWE-284: Improper Access Control) affecting Github.com/treeverse/lakefs libraries in the Go ecosystem. The issue involves lakefs vulnerable to authenticated users deleting files they are not authorized to delete. Remediation is available by upgrading affected packages to version 0.82.0.
GHSA-28q9-9c3g-v3f9 at a Glance
How to Fix GHSA-28q9-9c3g-v3f9
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.82.0
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-28q9-9c3g-v3f9, 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.82.0), 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-28q9-9c3g-v3f9 Affected Github.com/treeverse/lakefs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/treeverse/lakefs
|
Go |
< 0.82.0
|
0.82.0
|
References
Frequently Asked Questions
What is GHSA-28q9-9c3g-v3f9?
Which Github.com/treeverse/lakefs versions are affected?
What version fixes GHSA-28q9-9c3g-v3f9?
Is github.com/treeverse/lakefs affected?
What CWE is associated with GHSA-28q9-9c3g-v3f9?
How can I check Go dependencies for GHSA-28q9-9c3g-v3f9?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-28q9-9c3g-v3f9",
"modified" : "2022-09-23T15:13:14Z",
"published" : "2022-09-23T15:13:14Z",
"aliases" : [ ],
"summary" : "lakeFS vulnerable to authenticated users deleting files they are not authorized to delete",
"details" : "### Impact\n\nAuthenticated users can send a request to delete-objects through the s3 gateway and delete files they are not authorized to delete.\n\n### Patches\n\nlakeFS v0.82.0 and later\n\n### Workarounds\n\nDrop specific request to the lakeFS listen port. Any request with \"Authorization\" header and value that starts with \"AWS\".\n\n### References\n\n[advisories/GHSA-28q9-9c3g-v3f9](https://github.com/treeverse/lakeFS/security/advisories/GHSA-28q9-9c3g-v3f9)\n\n### For more information\nIf you have any questions or comments about this advisory:\n\nAsk on the [lakeFS Slack](https://github.com/treeverse/lakeFS/security/advisories/lakefs.io/slack) #help channel\nEmail us at [security@treeverse.io](mailto:security@treeverse.io)",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/treeverse/lakefs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.82.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/treeverse/lakeFS/security/advisories/GHSA-28q9-9c3g-v3f9"
}, {
"type" : "WEB",
"url" : "https://github.com/treeverse/lakeFS/commit/81182bf9c0cf57f3cec3c893cf739b2069305e37"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/treeverse/lakeFS"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-281", "CWE-284" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-23T15:13:14Z",
"nvd_published_at" : null
}
}