CVE-2024-58263 json
CosmWasm affected by arithmetic overflows
published 2024-04-24 2 y ago modified 2026-06-17 4 mo ago also GHSA-8724-5xmm-w5xq , RUSTSEC-2024-0338 , EUVD-2024-54822
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
The cosmwasm-std crate before 2.0.2 for Rust allows integer overflows that cause incorrect contract calculations.
Patch / fix
- crates.io cosmwasm-std 1.4.4, 1.5.4, 2.0.2
- CosmWasm cosmwasm-std 1.4.4, 1.5.4, 2.0.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 15 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2024-002.md referenced PoC, tagged "exploit" by a source, unverified
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2024-0338.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | cosmwasm-std | >=1.3.0, <1.4.4 >=1.5.0, <1.5.4 >=2.0.0, <2.0.2 |
1.4.4 1.5.4 2.0.2 |
Affected products
- CosmWasm cosmwasm-std
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/CosmWasm/advisories/blob/main/CWAs/CWA-2024-002.md
web, exploit, patch, third-party-advisory, advisory
-
github.com
/CosmWasm/cosmwasm/commit/607e7fc710fb9441096e8edbaa12879b552c8f65
web
-
github.com
/CosmWasm/cosmwasm/commit/a6a639e09adc355b5f889a09141649005cb08a46
web
-
github.com
/CosmWasm/cosmwasm/commit/eff79bcbe73b61178817aacf0a6449437adad6a9
web
-
rustsec.org
/advisories/RUSTSEC-2024-0338.html
web, exploit, third-party-advisory, advisory
-
crates.io
/crates/cosmwasm-std
product, package
-
nvd.nist.gov
/vuln/detail/CVE-2024-58263
advisory
-
github.com
/CosmWasm/cosmwasm
package
Sources
- CVE List CVE-2024-58263
- GitHub Advisory GHSA-8724-5xmm-w5xq
- NVD CVE-2024-58263
- OSV RUSTSEC-2024-0338
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.