{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-8158 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-8158 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-8158 is a high-severity authentication bypass vulnerability in 9front, published on 25 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-8158 and fix it if it is affected.\n\nWhat it is: CVE-2024-8158 is a high-severity authentication bypass vulnerability in 9front, published on 25 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-8158 in the wild and no public exploit code.\n\nAffected product: 9front. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-8158/ (Markdown: https://insights.sbomify.com/CVE-2024-8158/index.md)","id":"CVE-2024-8158","markdown":"https://insights.sbomify.com/CVE-2024-8158/index.md","name":"CVE-2024-8158","record":{"aliases":["GHSA-pm23-3px3-qrh7"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"9front OS","requires_auth":"low_privilege","summary":"An attacker with valid credentials can impersonate other users in 9p filesystems due to improper UID verification, requiring the experimental hjfs filesystem.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"9front","cpe":[{"product":"lib9p","vendor":"9front"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/AU:N/V:C/RE:L/U:Red","version":"4.0"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"A bug in the 9p authentication implementation within lib9p allows an attacker with an existing valid user within the configured auth server to impersonate any other valid filesystem user.\n\nThis is due to lib9p not properly verifying that the uname given in the Tauth and Tattach 9p messages matches the client UID returned from the factotum authentication handshake.\n\nThe only filesystem making use of these functions within the base 9front systems is the experimental hjfs disk filesystem, other disk filesystems (cwfs and gefs) are not affected by this bug.\n\nThis bug was inherited from Plan 9 and is present in all versions of 9front and is remedied fully in commit 9645ae07eb66a59015e3e118d0024790c37400da.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"User impersonation for lib9p based 9p fileservers","id":"CVE-2024-8158","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Deep Freeze 9.00.020.5760 - Out-of-bounds read","id":"CVE-2024-8159"},"packages":[],"prev":{"headline":"Alphabetical List \u003c= 1.0.3 - Settings Update via CSRF","id":"CVE-2024-8157"},"products":["9front"],"published":"2024-08-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-26","vendors":["9front"]},"summary":"An attacker with valid credentials can impersonate other users in 9p filesystems due to improper UID verification, requiring the experimental hjfs filesystem.","url":"https://insights.sbomify.com/CVE-2024-8158/"}