CVE-2021-25836

Source
https://cve.org/CVERecord?id=CVE-2021-25836
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-25836.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-25836
Published
2021-02-08T18:15:13.863Z
Modified
2026-03-13T01:54:13.975145Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/cosmos/ethermint

Affected ranges

Type
GIT
Repo
https://github.com/cosmos/ethermint
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.4.0"
        }
    ]
}

Affected versions

v0.*
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"