CVE-2023-30629
Incorrect success value returned in vyper
7.5
HIGH
CVSS 3.1
EPSS 0.34%
Description
Vyper is a Pythonic Smart Contract Language for the ethereum virtual machine. In versions 0.3.1 through 0.3.7, the Vyper compiler generates the wrong bytecode. Any contract that uses the `raw_call` with `revert_on_failure=False` and `max_outsize=0` receives the wrong response from `raw_call`. Depending on the memory garbage, the result can be either `True` or `False`. A patch is available and, as of time of publication, anticipated to be part of Vyper 0.3.8. As a workaround, one may always put `max_outsize>0`.
How to fix CVE-2023-30629
To remediate CVE-2023-30629, upgrade the affected package to a fixed version below.
- —upgrade to 0.3.8 or later
- —upgrade to 851f7a1b3aa2a36fd041e3d0ed38f9355a58c8ae or later
Is CVE-2023-30629 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 0.3.1, < 0.3.8
- from 0, < 851f7a1b3aa2a36fd041e3d0ed38f9355a58c8ae | >= 0.3.1, < 0.3.8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |