CVE-2023-30629

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-30629
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-30629.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-30629
Aliases
Published
2023-04-24T21:58:00Z
Modified
2025-10-30T20:20:28.812009Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Vyper's raw_call with outsize=0 and revert_on_failure=False returns incorrect success value
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-670"
    ]
}
References

Affected packages

Git / github.com/vyperlang/vyper

Affected ranges

Type
GIT
Repo
https://github.com/vyperlang/vyper
Events

Affected versions

Other

pre-release

v0.*

v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7