Tóm tắt nhanh
- CVE-2021-41122 là lỗ hổng mức TRUNG BÌNH (CVSS 4.3) ảnh hưởng vyper, vyper (vyperlang).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.80%, cao hơn 56.7% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 0.3.0 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.3.0
| 0.3.0
|
| vyper | < 0.3.0
| 0.3.0
|
Mô tả
Impact
The following code does not properly validate that its input is in bounds.
@external
def foo(x: decimal) -> decimal:
return x
Patches
0.3.0 / #2447
Workarounds
Don't use decimal args
Mô tả của NVD
Vyper is a Pythonic Smart Contract Language for the EVM. In affected versions external functions did not properly validate the bounds of decimal arguments. The can lead to logic errors. This issue has been resolved in version 0.3.0.
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í