CVE-2023-30629
Summary
| CVE | CVE-2023-30629 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-04-24 22:15:00 UTC |
| Updated | 2023-08-02 16:22:00 UTC |
| 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`. |
Risk And Classification
Problem Types: CWE-670
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Vyperlang | Vyper | All | All | All | All |
| Application | Vyper Project | Vyper | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| raw_call with outsize=0 and revert_on_failure=False returns incorrect success value · Advisory · vyperlang/vyper · GitHub | MISC | github.com | |
| Merge pull request from GHSA-w9g2-3w7p-72g9 · vyperlang/vyper@851f7a1 · GitHub | MISC | github.com | |
| fix: capture response from raw_call by mymphe · Pull Request #5 · lidofinance/gate-seals · GitHub | MISC | github.com | |
| gate-seals/GateSeal.vy at 051593e74df01a4131c485b4fda52e691cd4b7d8 · lidofinance/gate-seals · GitHub | MISC | github.com | |
| Built-in Functions — Vyper documentation | MISC | docs.vyperlang.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.