CVE-2023-32675
Vyper's nonpayable default functions are sometimes payable
3.7
LOW
CVSS 3.1
EPSS 0.55%
描述
Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In contracts with more than one regular nonpayable function, it is possible to send funds to the default function, even if the default function is marked `nonpayable`. This applies to contracts compiled with vyper versions prior to 0.3.8. This issue was fixed by the removal of the global `calldatasize` check in commit `02339dfda`. Users are advised to upgrade to version 0.3.8. Users unable to upgrade should avoid use of nonpayable default functions.
如何修補 CVE-2023-32675
要修補 CVE-2023-32675,請將受影響套件升級到下列已修補版本。
- —升級至 0.3.8 或更新版本
- —升級至 02339dfda0f3caabad142060d511d10bfe93c520. 或更新版本
CVE-2023-32675 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 0.3.8
- from 0, < 02339dfda0f3caabad142060d511d10bfe93c520. | from 0, < 0.3.8
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | LOW3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |