vyper
Affected
- introduced
0, fixed0.3.0(ecosystem)
Fixed versions
0.3.0
Fix
- Fixed version
0.3.0pip install --upgrade vyper==0.3.0
Advisory
Also known as: CVE-2021-41122, PYSEC-2021-366
missing clamps for decimal args in external functions
Impact
The following code does not properly validate that its input is in bounds.
@external
def foo(x: decimal) -> decimal:
return x
Patches
0.3.0 / #2447
Workarounds
Don't use decimal args
Medium Basis: The source's own band: MODERATE
0, fixed 0.3.0 (ecosystem)0.3.0
0.3.0pip install --upgrade vyper==0.3.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0