Advisory

GHSA-cg8r-jwg7-r2x4

Also known as: CVE-2025-25500

Summary

CosmWasm Allows Bypass of Capability Restrictions in Blockchains

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-03-18 15:30 UTC
Modified
2025-03-21 21:11 UTC

Affected packages and fixes

cosmwasm

crates.io · All systems

Affected

  • introduced 0, fixed 2.2.0 (semver)

Fixed versions

2.2.0

Fix

  • Fixed version 2.2.0
    cargo update -p cosmwasm --precise 2.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences