CVE-2021-29511
CVSS V2 Medium 4
CVSS V3 Medium 6.5
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.
Overview
- CVE ID
- CVE-2021-29511
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-05-12T18:15:08
- Last Modified Date
- 2022-10-25T19:13:21
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:* | 1 | OR | 0.21.0 | |
cpe:2.3:a:evm_project:evm:0.22.0:*:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:evm_project:evm:0.23.0:*:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:evm_project:evm:0.24.0:*:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:evm_project:evm:0.25.0:*:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:evm_project:evm:0.26.0:*:*:*:*:rust:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 4
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 6.5
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd | Patch Third Party Advisory |
https://github.com/rust-blockchain/evm/security/advisories/GHSA-4jwq-572w-4388 | Patch Third Party Advisory |
https://crates.io/crates/evm | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-29511 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29511 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:15:13 | Added to TrackCVE | |||
2022-12-05 02:10:57 | 2021-05-12T18:15Z | 2021-05-12T18:15:08 | CVE Published Date | updated |
2022-12-05 02:10:57 | 2022-10-25T19:13:21 | CVE Modified Date | updated | |
2022-12-05 02:10:57 | Analyzed | Vulnerability Status | updated |