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 cw20

Dependencies

(5 total, 1 possibly insecure)

CrateRequiredLatestStatus
 cosmwasm-schema^2.0.02.2.2up to date
 cosmwasm-std ⚠️^2.0.02.2.2maybe insecure
 cw-utils^2.0.02.0.0up to date
 schemars^0.8.150.8.22up to date
 serde^1.0.1881.0.219up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 cosmwasm-schema^2.0.02.2.2up 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