A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Vyper 0.3.8 through 0.5.0b1 contains an optimizer miscompilation in which (msg.value | K) or (len(msg.data) | K), where K is any nonzero integer literal, is compiled to the constant 1 when used as a ternary expression branch under -O gas (the default) or -O codesize. Affected contracts use the wrong value in storage writes, arithmetic, indexes, return values, or events without warning or revert, which can record deposits incorrectly and lock funds.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /vyperlang/vyper/security/advisories/GHSA-6j9c-gvcw-74fj
- www.vulncheck.com /advisories/vyper-0.3.8-through-0.5-0b1-optimizer-miscompil…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning