Lucene search

K
cveGitHub_MCVE-2021-29511
HistoryMay 12, 2021 - 6:15 p.m.

CVE-2021-29511

2021-05-1218:15:08
CWE-770
CWE-787
GitHub_M
web.nvd.nist.gov
40
2
cve-2021-29511
evm crate
rust
ethereum virtual machine
dos
memory over-allocation
patch
nvd

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:N/I:N/A:P

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

49.3%

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.

Affected configurations

Nvd
Vulners
Node
evm_projectevmRange0.21.0rust
OR
evm_projectevmMatch0.22.0rust
OR
evm_projectevmMatch0.23.0rust
OR
evm_projectevmMatch0.24.0rust
OR
evm_projectevmMatch0.25.0rust
OR
evm_projectevmMatch0.26.0rust
VendorProductVersionCPE
evm_projectevm*cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:*
evm_projectevm0.22.0cpe:2.3:a:evm_project:evm:0.22.0:*:*:*:*:rust:*:*
evm_projectevm0.23.0cpe:2.3:a:evm_project:evm:0.23.0:*:*:*:*:rust:*:*
evm_projectevm0.24.0cpe:2.3:a:evm_project:evm:0.24.0:*:*:*:*:rust:*:*
evm_projectevm0.25.0cpe:2.3:a:evm_project:evm:0.25.0:*:*:*:*:rust:*:*
evm_projectevm0.26.0cpe:2.3:a:evm_project:evm:0.26.0:*:*:*:*:rust:*:*

CNA Affected

[
  {
    "product": "evm",
    "vendor": "rust-blockchain",
    "versions": [
      {
        "status": "affected",
        "version": "< 0.21.1"
      },
      {
        "status": "affected",
        "version": "= 0.22.0"
      },
      {
        "status": "affected",
        "version": "= 0.23.0"
      },
      {
        "status": "affected",
        "version": "= 0.24.0"
      },
      {
        "status": "affected",
        "version": "= 0.25.0"
      }
    ]
  }
]

Social References

More

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:N/I:N/A:P

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

49.3%

Related for CVE-2021-29511