{"answers":{"affected":"3 open source packages ship an affected version, including github.com/treeverse/lakefs.","exploited":"There is no known exploitation of CVE-2024-43784 in the wild and no public exploit code.","fix":"Upgrade github.com/treeverse/lakefs to 1.33.0 or later.","what":"CVE-2024-43784 is a medium-severity vulnerability in treeverse lakeFS, published on 26 Nov 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-43784 and fix it if it is affected.\n\nWhat it is: CVE-2024-43784 is a medium-severity vulnerability in treeverse lakeFS, published on 26 Nov 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-43784 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 1.33.0\n- github.com/treeverse/lakefs (Go): affected all versions; fixed in 1.33.0\n- github.com/treeverse/lakefs (Go): affected all versions; fixed in 1.33.0\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/CVE-2024-43784/ (Markdown: https://insights.sbomify.com/CVE-2024-43784/index.md)","id":"CVE-2024-43784","markdown":"https://insights.sbomify.com/CVE-2024-43784/index.md","name":"CVE-2024-43784","record":{"aliases":["GHSA-hh33-46q4-hwm2","GO-2024-3291"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"lakeFS storage tool","requires_auth":"high_privilege","summary":"Recreating a deleted user with the same username inherits previous credentials, allowing unauthorized access to the new user's account.","user_interaction":"required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-281","name":"Improper Preservation of Permissions"}],"description":"lakeFS is an open-source tool that transforms object storage into a Git-like repository. Existing lakeFS users who have issued credentials to users who have been deleted are affected by this vulnerability. When creating a new user with the same username as a deleted user, that user will inherit all of the previous user's credentials. This issue has been addressed in release version 1.33.0 and all users are advised to upgrade. The only known workaround for those who cannot upgrade is to not reuse usernames.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Re-creating a deleted user in lakeFS will re-enable previous user credentials that existed prior to it's deletion","id":"CVE-2024-43784","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"business_logic","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"gitoxide-core does not neutralize special characters for terminals","id":"CVE-2024-43785"},"packages":[{"ecosystem":"Go","fixed":["1.33.0"],"introduced":["0"],"last_affected":[],"package":"github.com/treeverse/lakefs","purl":null,"source":"GHSA-hh33-46q4-hwm2"},{"ecosystem":"Go","fixed":["1.33.0"],"introduced":["0"],"last_affected":[],"package":"github.com/treeverse/lakefs","purl":"pkg:golang/github.com/treeverse/lakefs","source":"GHSA-hh33-46q4-hwm2"},{"ecosystem":"Go","fixed":["1.33.0"],"introduced":["0"],"last_affected":[],"package":"github.com/treeverse/lakefs","purl":"pkg:golang/github.com/treeverse/lakefs","source":"GO-2024-3291"}],"prev":{"headline":"Apollo Router Coprocessors may cause Denial-of-Service when handling request bodies","id":"CVE-2024-43783"},"products":["lakeFS"],"published":"2024-11-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-26","vendors":["treeverse"]},"summary":"Recreating a deleted user with the same username inherits previous credentials, allowing unauthorized access to the new user's account.","url":"https://insights.sbomify.com/CVE-2024-43784/"}