In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade cosmwasm-std
to version 1.4.4, 1.5.4, 2.0.2 or higher.
Affected versions of this package are vulnerable to Integer Overflow or Wraparound due to certain mathematical operations using wrapping math instead of panicking on overflow for very big numbers. This will be leading to incorrect calculations in contracts that utilize these operations.
Notes:
Affected functions: Uint{256,512}::pow / Int{256,512}::pow / Int{256,512}::neg (the unary negation operator -). The only value that can overflow is Int{256,512}::MIN.
If overflow-checks = true is not set: Uint{64,128}::pow / Int{64,128}::pow / Int{64,128}::neg (the unary negation operator -) will also be affected. The only value that can overflow is Int{64,128}::MIN.