Improper Authorization Affecting github.com/evmos/evmos/v19/precompiles/vesting package, versions <19.0.0
Threat Intelligence
Do your applications use this vulnerable package?
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 applications- Snyk ID SNYK-GOLANG-GITHUBCOMEVMOSEVMOSV19PRECOMPILESVESTING-7554708
- published 24 Jul 2024
- disclosed 5 Jul 2024
- credit GAtom22
Introduced: 5 Jul 2024
CVE-2024-39696 Open this link in a new tabHow to fix?
Upgrade github.com/evmos/evmos/v19/precompiles/vesting
to version 19.0.0 or higher.
Overview
Affected versions of this package are vulnerable to Improper Authorization due to the misuse of the contract.CallerAddress
authorization check in the code, which does not verify the source of the funds. An attacker can drain funds from any account on the chain by creating a vesting account funded by a third-party account without the third party's permission. This is only exploitable if the attacker can create a vesting account and an authorization for a contract.CallerAddress
.