{"answers":{"affected":"3 open source packages ship an affected version, including github.com/treeverse/lakefs.","exploited":"There is no known exploitation of GHSA-m836-gxwq-j2pm in the wild and no public exploit code.","fix":"Upgrade github.com/treeverse/lakefs to 0.53.1 or later.","what":"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."},"fix_prompt":"Check this codebase for GHSA-m836-gxwq-j2pm and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of GHSA-m836-gxwq-j2pm in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/treeverse/lakefs (Go): affected all versions; fixed in 0.53.1\n- github.com/treeverse/lakefs (Go): affected all versions; fixed in 0.53.1\n- github.com/treeverse/lakefs (Go): affected all versions; fixed in 0.53.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-m836-gxwq-j2pm/ (Markdown: https://insights.sbomify.com/GHSA-m836-gxwq-j2pm/index.md)","id":"GHSA-m836-gxwq-j2pm","markdown":"https://insights.sbomify.com/GHSA-m836-gxwq-j2pm/index.md","name":"GHSA-m836-gxwq-j2pm","record":{"aliases":["GO-2022-0375"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"lakeFS storage gateway","requires_auth":"low_privilege","summary":"Users with limited write or read permissions can bypass access controls to read or modify unauthorized repository objects and metadata.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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.","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Improper Access Control in github.com/treeverse/lakefs","id":"GHSA-m836-gxwq-j2pm","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2021"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["0.53.1"],"introduced":["0"],"last_affected":[],"package":"github.com/treeverse/lakefs","purl":null,"source":"GHSA-m836-gxwq-j2pm"},{"ecosystem":"Go","fixed":["0.53.1"],"introduced":["0"],"last_affected":[],"package":"github.com/treeverse/lakefs","purl":"pkg:golang/github.com/treeverse/lakefs","source":"GHSA-m836-gxwq-j2pm"},{"ecosystem":"Go","fixed":["0.53.1"],"introduced":["0"],"last_affected":[],"package":"github.com/treeverse/lakefs","purl":"pkg:golang/github.com/treeverse/lakefs","source":"GO-2022-0375"}],"products":null,"published":"2021-10-28","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Users with limited write or read permissions can bypass access controls to read or modify unauthorized repository objects and metadata.","url":"https://insights.sbomify.com/GHSA-m836-gxwq-j2pm/"}