Add security advisory for evm crate related to memory over-allocation (#909)

This commit is contained in:
Wei Tang
2021-05-11 23:23:09 +02:00
committed by GitHub
parent bd8a0f6700
commit a7ffa73f48

View File

@@ -0,0 +1,20 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "evm"
date = "2021-05-11"
url = "https://github.com/rust-blockchain/evm"
categories = ["denial-of-service"]
[versions]
patched = [">= 0.26.1", "0.25.1", "0.24.1", "0.23.1", "0.21.1"]
```
# Denial of service on EVM execution due to memory over-allocation
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`.