{"answers":{"affected":"2 open source packages ship an affected version, including cosmwasm. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-25500 exists.","fix":"Upgrade cosmwasm to 2.2.0 or later.","what":"CVE-2025-25500 is a high-severity missing authorization vulnerability in n/a, published on 18 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-25500 and fix it if it is affected.\n\nWhat it is: CVE-2025-25500 is a high-severity missing authorization vulnerability in n/a, published on 18 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-25500 exists.\n\nAffected packages and fixed versions:\n- cosmwasm (crates.io): affected all versions; fixed in 2.2.0\n- cosmwasm (crates.io): affected all versions; fixed in 2.2.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-2025-25500/ (Markdown: https://insights.sbomify.com/CVE-2025-25500/index.md)","id":"CVE-2025-25500","markdown":"https://insights.sbomify.com/CVE-2025-25500/index.md","name":"CVE-2025-25500","record":{"aliases":["GHSA-cg8r-jwg7-r2x4"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"CosmWasm smart contract library","requires_auth":"none","summary":"Attackers can bypass capability restrictions to deploy unauthorized contracts and execute actions on blockchains using CosmWasm.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cosmwasm","vendor":"cosmwasm"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"An issue in CosmWasm prior to v2.2.0 allows attackers to bypass capability restrictions in blockchains by exploiting a lack of runtime capability validation. This allows attackers to deploy a contract without capability enforcement, and execute unauthorized actions on the blockchain.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"CosmWasm Allows Bypass of Capability Restrictions in Blockchains","id":"CVE-2025-25500","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":2,"n_references":1,"next":{"headline":"Command injection in n/a","id":"CVE-2025-25504"},"packages":[{"ecosystem":"crates.io","fixed":["2.2.0"],"introduced":["0"],"last_affected":[],"package":"cosmwasm","purl":null,"source":"GHSA-cg8r-jwg7-r2x4"},{"ecosystem":"crates.io","fixed":["2.2.0"],"introduced":["0"],"last_affected":[],"package":"cosmwasm","purl":"pkg:cargo/cosmwasm","source":"GHSA-cg8r-jwg7-r2x4"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2025-25497"},"products":["n/a"],"published":"2025-03-18","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":"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-21","vendors":["n/a"]},"summary":"Attackers can bypass capability restrictions to deploy unauthorized contracts and execute actions on blockchains using CosmWasm.","url":"https://insights.sbomify.com/CVE-2025-25500/"}