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-utils

Dependencies

(5 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 cosmwasm-schema^2.0.02.2.2up to date
 cosmwasm-std ⚠️^2.0.02.2.2maybe insecure
 schemars^0.8.150.8.22up to date
 serde^1.0.1881.0.219up to date
 thiserror^1.0.492.0.12out of date

Dev dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 anyhow^1.0.751.0.98up to date
 cw-storage-plus^2.0.02.0.0up to date
 ecdsa^0.16.80.16.9up to date
 prost^0.12.10.13.5out 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