This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate cw2

Dependencies

(7 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 cosmwasm-schema^2.0.02.2.2up to date
 cosmwasm-std ⚠️^2.0.02.2.2maybe insecure
 cw-storage-plus^2.0.02.0.0up to date
 schemars^0.8.150.8.22up to date
 semver^1.0.201.0.26up to date
 serde^1.0.1881.0.219up to date
 thiserror^1.0.492.0.12out of date

Security Vulnerabilities

cosmwasm-std: Arithmetic overflows in cosmwasm-std

RUSTSEC-2024-0338

Some mathematical operations in cosmwasm-std use wrapping math instead of panicking on overflow for very big numbers. This can lead to wrong calculations in contracts that use these operations.

Affected functions:

  • Uint{256,512}::pow / Int{256,512}::pow
  • Int{256,512}::neg

Affected if overflow-checks = true is not set:

  • Uint{64,128}::pow / Int{64,128}::pow
  • Int{64,128}::neg