{"id":"CVE-2021-25836","details":"Cosmos Network Ethermint \u003c= 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.","modified":"2026-04-12T00:09:06.587504Z","published":"2021-02-08T18:15:13.863Z","references":[{"type":"EVIDENCE","url":"https://github.com/cosmos/ethermint/issues/667#issuecomment-759284303"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cosmos/ethermint","events":[{"introduced":"0"},{"last_affected":"11e2f636787f453dac645b53e6b930d42bbb8711"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.4.0"}],"cpe":"cpe:2.3:a:chainsafe:ethermint:*:*:*:*:*:*:*:*","source":"CPE_FIELD"}}],"versions":["v0.0.0","v0.3.0","v0.4.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-25836.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}