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 cw-storage-plus

Dependencies

(4 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 cosmwasm-std ⚠️^1.3.32.2.2out of date
 cw-storage-macro^1.2.02.0.0out of date
 schemars^0.8.30.8.22up to date
 serde^1.01.0.219up to date

Dev dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 criterion^0.30.5.1out of date
 rand^0.80.9.1out of date
 rand_xoshiro^0.6.00.7.0out of date
 serde_json^1.0.291.0.140up to 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