GHSA-gwj5-wp6r-5q9f Cronos vulnerable to DoS through unintended Contract Selfdestruct
An attacker can cause denial of service for smart contracts sharing identical bytecode by triggering a selfdestruct on one contract, affecting all instances.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-gwj5-wp6r-5q9f?
GHSA-gwj5-wp6r-5q9f is a denial of service vulnerability in github.com/crypto-org-chain/cronos, published on 11 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Which versions are affected by GHSA-gwj5-wp6r-5q9f?
3 open source packages ship an affected version, including github.com/crypto-org-chain/cronos.
| Package | Affected | Fixed in |
|---|---|---|
github.com/crypto-org-chain/cronos Go | All versions | 0.8.0 |
github.com/crypto-org-chain/cronos Go | All versions | 0.8.0 |
github.com/crypto-org-chain/cronos Go | All versions | 0.8.0 |
How do I fix GHSA-gwj5-wp6r-5q9f?
Upgrade github.com/crypto-org-chain/cronos to 0.8.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-gwj5-wp6r-5q9f being exploited?
There is no known exploitation of GHSA-gwj5-wp6r-5q9f in the wild and no public exploit code.
Sources
Also known as GO-2022-0829.