{"answers":{"affected":"3 open source packages ship an affected version, including github.com/open-policy-agent/opa. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-8260 in the wild and no public exploit code.","fix":"Upgrade github.com/open-policy-agent/opa to 0.68.0 or later.","what":"CVE-2024-8260 is a medium-severity authentication bypass vulnerability in Styra OPA, published on 30 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-8260 and fix it if it is affected.\n\nWhat it is: CVE-2024-8260 is a medium-severity authentication bypass vulnerability in Styra OPA, published on 30 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-8260 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/open-policy-agent/opa (Go): affected all versions; fixed in 0.68.0\n- github.com/open-policy-agent/opa (Go): affected all versions; fixed in 0.68.0\n- github.com/open-policy-agent/opa (Go): affected all versions; fixed in 0.68.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-8260/ (Markdown: https://insights.sbomify.com/CVE-2024-8260/index.md)","id":"CVE-2024-8260","markdown":"https://insights.sbomify.com/CVE-2024-8260/index.md","name":"CVE-2024-8260","record":{"aliases":["CLEANSTART-2026-GJ96630","GHSA-c77r-fh37-x2px","GO-2024-3141","MINI-8rcp-2726-m5mq","MINI-c7hp-jr2w-q49w","MINI-pxcv-5x66-p446","MINI-q45g-jcx5-2xj7"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OPA policy engine","requires_auth":"low_privilege","summary":"Attackers can force authentication to arbitrary SMB shares via improper input validation in OPA CLI or Go library functions.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"tenable","cpe":[{"product":"open_policy_agent","vendor":"openpolicyagent"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-294","name":"Authentication Bypass by Capture-replay"}],"description":"A SMB force-authentication vulnerability exists in all versions of OPA for Windows prior to v0.68.0. The vulnerability exists because of improper input validation, allowing a user to pass an arbitrary SMB share instead of a Rego file as an argument to OPA CLI or to one of the OPA Go library’s functions.","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":"OPA SMB Force-Authentication","id":"CVE-2024-8260","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"IDOR in Proliz Software's OBS","id":"CVE-2024-8261"},"packages":[{"ecosystem":"Go","fixed":["0.68.0"],"introduced":["0"],"last_affected":[],"package":"github.com/open-policy-agent/opa","purl":null,"source":"GHSA-c77r-fh37-x2px"},{"ecosystem":"Go","fixed":["0.68.0"],"introduced":["0"],"last_affected":[],"package":"github.com/open-policy-agent/opa","purl":"pkg:golang/github.com/open-policy-agent/opa","source":"GHSA-c77r-fh37-x2px"},{"ecosystem":"Go","fixed":["0.68.0"],"introduced":["0"],"last_affected":[],"package":"github.com/open-policy-agent/opa","purl":"pkg:golang/github.com/open-policy-agent/opa","source":"GO-2024-3141"}],"prev":{"headline":"Unauthenticated SQLi in Eryaz IT's NatraCar B2B Dealer Management Program","id":"CVE-2024-8259"},"products":["OPA"],"published":"2024-08-30","related":[{"cvss_score":7.5,"headline":"Denial of service in Open Policy Agent","id":"CVE-2022-33082","kev_date_added":null,"published":"2022-06-30"},{"cvss_score":7.5,"headline":"Out of bounds memory access in github.com/open-policy-agent/opa","id":"CVE-2022-28946","kev_date_added":null,"published":"2022-05-19"},{"cvss_score":7.4,"headline":"OPA Compiler: Bypass of WithUnsafeBuiltins using `with` keyword to mock functions","id":"CVE-2022-36085","kev_date_added":null,"published":"2022-09-08"},{"cvss_score":6.3,"headline":"Array literal misordering in github.com/open-policy-agent/opa","id":"CVE-2022-23628","kev_date_added":null,"published":"2022-02-09"}],"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":"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-30","vendors":["Styra"]},"summary":"Attackers can force authentication to arbitrary SMB shares via improper input validation in OPA CLI or Go library functions.","url":"https://insights.sbomify.com/CVE-2024-8260/"}