NetSight
medium4.3

CVE-2021-41122

missing clamps for decimal args in external functions

Impact

### Impact The following code does not properly validate that its input is in bounds. ```python @external def foo(x: decimal) -> decimal: return x ``` ### Patches 0.3.0 / #2447 ### Workarounds Don't use decimal args

Affected packages

EcosystemPackageAffectedFixed in
pipvyper< 0.3.00.3.0

Affected products

VendorProductAffected versions
VyperlangVyper
before 0.3.0

Weakness classification

References