CVE-2023-30629
Vyper's raw_call with outsize=0 and revert_on_failure=False returns incorrect success value
Severity Score
7.5
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
1
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
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`.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2023-04-13 CVE Reserved
- 2023-04-24 CVE Published
- 2024-08-02 CVE Updated
- 2024-08-02 First Exploit
- 2024-11-14 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-670: Always-Incorrect Control Flow Implementation
CAPEC
References (5)
URL | Date | SRC |
---|---|---|
https://github.com/vyperlang/vyper/security/advisories/GHSA-w9g2-3w7p-72g9 | 2024-08-02 |
URL | Date | SRC |
---|---|---|
https://github.com/lidofinance/gate-seals/pull/5/files | 2023-08-02 | |
https://github.com/vyperlang/vyper/commit/851f7a1b3aa2a36fd041e3d0ed38f9355a58c8ae | 2023-08-02 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Vyperlang Search vendor "Vyperlang" | Vyper Search vendor "Vyperlang" for product "Vyper" | >= 0.3.1 < 0.3.8 Search vendor "Vyperlang" for product "Vyper" and version " >= 0.3.1 < 0.3.8" | - |
Affected
|