{"id":"CVE-2021-25836","aliases":["CVE-2021-25836"],"related":[],"kind":"vulnerability","state":"published","title":"Cosmos Network Ethermint <= v0.4.0 is affected by cache lifecycle inconsistency in the EVM module.","summary":"Cosmos Network Ethermint <= v0.4.0 is affected by cache lifecycle inconsistency in the EVM module. The bytecode set in a FAILED transaction wrongfully remains in memory(stateObject.code) and is further written to persistent store at the Endblock stage, which may be utilized to build honeypot contracts.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cosmos Network Ethermint <= v0.4.0 is affected by cache lifecycle inconsistency in the EVM module. The bytecode set in a FAILED transaction wrongfully remains in memory(stateObject.code) and is further written to persistent store at the Endblock stage, which may be utilized to build honeypot contracts.","source":"cvelist"},{"lang":"es","text":"Cosmos Network Ethermint  versiones anteriores e incluyendo a v0.4.0 está afectado por la inconsistencia del ciclo de vida de la caché en el módulo EVM.&#xa0;El bytecode establecido en una transacción FAILED permanece erróneamente en la memoria (stateObject.code) y se escribe posteriormente en el almacén persistente en la etapa Endblock, que puede ser usado para construir contratos de honeypot","source":"nvd"}],"published":"2021-02-08T17:54:16.000Z","modified":"2026-06-17T03:42:30.040Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.4.0"}],"vendor":"chainsafe","product":"ethermint","cpe":"cpe:2.3:a:chainsafe:ethermint:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/cosmos/ethermint/issues/667#issuecomment-759284303","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25836","url":"https://www.cve.org/CVERecord?id=CVE-2021-25836","licence":"CVE Terms of Use","modified":"2024-08-03T20:11:28.461Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25836","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25836","licence":"Public domain","modified":"2026-06-17T03:42:30.040Z"}],"updatedAt":"2026-11-25T22:57:59.841Z","epss":{"score":0.01275,"percentile":0.70008,"date":"2026-11-30T12:00:22.000Z"}}