{"api_version":"1","generated_at":"2026-06-19T10:30:12+00:00","cve":"CVE-2021-29511","urls":{"html":"https://cve.report/CVE-2021-29511","api":"https://cve.report/api/cve/CVE-2021-29511.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29511","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29511"},"summary":{"title":"CVE-2021-29511","description":"evm is a pure Rust implementation of Ethereum Virtual Machine. Prior to the patch, when executing specific EVM opcodes related to memory operations that use `evm_core::Memory::copy_large`, the `evm` crate can over-allocate memory when it is not needed, making it possible for an attacker to perform denial-of-service attack. The flaw was corrected in commit `19ade85`. Users should upgrade to `==0.21.1, ==0.23.1, ==0.24.1, ==0.25.1, >=0.26.1`. There are no workarounds. Please upgrade your `evm` crate version.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-05-12 18:15:00","updated_at":"2022-10-25 19:13:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd","name":"https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd","refsource":"MISC","tags":[],"title":"Skip setting memory value if the value vec is empty · rust-blockchain/evm@19ade85 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/rust-blockchain/evm/security/advisories/GHSA-4jwq-572w-4388","name":"https://github.com/rust-blockchain/evm/security/advisories/GHSA-4jwq-572w-4388","refsource":"CONFIRM","tags":[],"title":"Memory over-allocation in evm crate · Advisory · rust-blockchain/evm · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://crates.io/crates/evm","name":"https://crates.io/crates/evm","refsource":"MISC","tags":[],"title":"","mime":"application/json","httpstatus":"404","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29511","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29511","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"29511","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"evm_project","cpe5":"evm","cpe6":"0.22.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"rust","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29511","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"evm_project","cpe5":"evm","cpe6":"0.23.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"rust","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29511","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"evm_project","cpe5":"evm","cpe6":"0.24.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"rust","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29511","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"evm_project","cpe5":"evm","cpe6":"0.25.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"rust","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29511","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"evm_project","cpe5":"evm","cpe6":"0.26.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"rust","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29511","vulnerable":"1","versionEndIncluding":"0.21.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"evm_project","cpe5":"evm","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"rust","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-29511","qid":"997013","title":"Rust (Rust) Security Update for evm (GHSA-4jwq-572w-4388)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-29511","STATE":"PUBLIC","TITLE":"Memory over-allocation in evm crate"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"evm","version":{"version_data":[{"version_value":"< 0.21.1"},{"version_value":"= 0.22.0"},{"version_value":"= 0.23.0"},{"version_value":"= 0.24.0"},{"version_value":"= 0.25.0"}]}}]},"vendor_name":"rust-blockchain"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"evm is a pure Rust implementation of Ethereum Virtual Machine. Prior to the patch, when executing specific EVM opcodes related to memory operations that use `evm_core::Memory::copy_large`, the `evm` crate can over-allocate memory when it is not needed, making it possible for an attacker to perform denial-of-service attack. The flaw was corrected in commit `19ade85`. Users should upgrade to `==0.21.1, ==0.23.1, ==0.24.1, ==0.25.1, >=0.26.1`. There are no workarounds. Please upgrade your `evm` crate version."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"{\"CWE-770\":\"Allocation of Resources Without Limits or Throttling\"}"}]}]},"references":{"reference_data":[{"name":"https://github.com/rust-blockchain/evm/security/advisories/GHSA-4jwq-572w-4388","refsource":"CONFIRM","url":"https://github.com/rust-blockchain/evm/security/advisories/GHSA-4jwq-572w-4388"},{"name":"https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd","refsource":"MISC","url":"https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd"},{"name":"https://crates.io/crates/evm","refsource":"MISC","url":"https://crates.io/crates/evm"}]},"source":{"advisory":"GHSA-4jwq-572w-4388","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-05-12 18:15:00","lastModifiedDate":"2022-10-25 19:13:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:evm_project:evm:0.22.0:*:*:*:*:rust:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:evm_project:evm:0.23.0:*:*:*:*:rust:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:evm_project:evm:0.24.0:*:*:*:*:rust:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:evm_project:evm:0.25.0:*:*:*:*:rust:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:evm_project:evm:0.26.0:*:*:*:*:rust:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:*","versionEndIncluding":"0.21.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"29511","Ordinal":"204715","Title":"CVE-2021-29511","CVE":"CVE-2021-29511","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"29511","Ordinal":"1","NoteData":"evm is a pure Rust implementation of Ethereum Virtual Machine. Prior to the patch, when executing specific EVM opcodes related to memory operations that use `evm_core::Memory::copy_large`, the `evm` crate can over-allocate memory when it is not needed, making it possible for an attacker to perform denial-of-service attack. The flaw was corrected in commit `19ade85`. Users should upgrade to `==0.21.1, ==0.23.1, ==0.24.1, ==0.25.1, >=0.26.1`. There are no workarounds. Please upgrade your `evm` crate version.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"29511","Ordinal":"2","NoteData":"2021-05-12","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"29511","Ordinal":"3","NoteData":"2021-05-12","Type":"Other","Title":"Modified"}]}}}