CVE-2022-35936Evmos Ethermint
Media 5.3 Sin autenticación
Seguir: esta CVE · Evmos · Evmos Ethermint Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.4% probabilidad de explotación en 30 días · percentil 73
- Requiere autenticación
- No
- Publicada
- 5 ago 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-668
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Qué pasa
Ethermint is an Ethereum library. In Ethermint running versions before `v0.17.2`, the contract `selfdestruct` invocation permanently removes the corresponding bytecode from the internal database storage. However, due to a bug in the `DeleteAccount`function, all contracts that used the identical bytecode (i.e shared the same `CodeHash`) will also stop working once one contract invokes `selfdestruct`, even though the other contracts did not invoke the `selfdestruct` OPCODE. This vulnerability has been patched in Ethermint version v0.18.0. The patch has state machine-breaking changes for applications using Ethermint, so a coordinated upgrade procedure is required. A workaround is available. If a contract is subject to DoS due to this issue, the user can redeploy the same contract, i.e. with identical bytecode, so that the original contract's code is recovered. The new contract deployment restores the `bytecode hash -> bytecode` entry in the internal state.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Ethermint.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/crypto-org-chain/cronos |
< 0.7.1-rc2 |
0.7.1-rc2 |
go get github.com/crypto-org-chain/cronos@v0.7.1-rc2 |
| Go | github.com/crypto-org-chain/cronos |
< 0.7.1-rc2 |
0.7.1-rc2 |
go get github.com/crypto-org-chain/cronos@v0.7.1-rc2 |
| Go | github.com/evmos/ethermint |
< 0.18.0 |
0.18.0 |
go get github.com/evmos/ethermint@v0.18.0 |
| Go | github.com/evmos/ethermint |
< 0.18.0 |
0.18.0 |
go get github.com/evmos/ethermint@v0.18.0 |
| Go | github.com/evmos/evmos |
< 7.0.0 |
7.0.0 |
go get github.com/evmos/evmos@v7.0.0 |
| Go | github.com/evmos/evmos |
todas |
sin versión corregida | — |
| Go | github.com/evmos/evmos/v2 |
todas |
sin versión corregida | — |
| Go | github.com/evmos/evmos/v3 |
todas |
sin versión corregida | — |
| Go | github.com/evmos/evmos/v4 |
todas |
sin versión corregida | — |
| Go | github.com/evmos/evmos/v5 |
todas |
sin versión corregida | — |
| Go | github.com/evmos/evmos/v6 |
todas |
sin versión corregida | — |
| Go | github.com/evmos/evmos/v7 |
< 7.0.0 |
7.0.0 |
go get github.com/evmos/evmos/v7@v7.0.0 |
| Go | github.com/Kava-Labs/kava |
< 0.18.0 |
0.18.0 |
go get github.com/Kava-Labs/kava@v0.18.0 |
| Go | github.com/kava-labs/kava |
< 0.18.0 |
0.18.0 |
go get github.com/kava-labs/kava@v0.18.0 |
Según OSV / GitHub Advisories (GHSA-f92v-grc2-w2fg, GO-2022-0760). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| evmos | ethermint | < 0.18.0 |
| kava | kava | < 0.18.0 |
| crypto | cronos | ≤ 0.7.0 |
| evmos | evmos | < 7.0.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory