Tóm tắt nhanh
- CVE-2021-48020 là lỗ hổng mức TRUNG BÌNH (CVSS 6.5) ảnh hưởng vyper.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.28%, cao hơn 21.0% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 0.2.12 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| vyper PyPI | < 0.2.12
| 0.2.12
|
Mô tả
Impact
When performing a function call inside an array, there is a memory corruption issue that occurs because of an incorrect pointer to the the tip of the stack.
Patches
This issue was partially fixed in VVE-2020-0004, however the fix did not update similar code for arrays, which had a similar issue. The issue is fully fixed in https://github.com/vyperlang/vyper/pull/2345
Mô tả của NVD
Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption vulnerability caused by an incorrect stack tip pointer when internal function calls are performed inside arrays. Contracts placing internal calls in nested array elements, external call arguments, struct literals, or raw_log topics can have memory corrupted, producing incorrect contract behavior.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí