First published: Tue Oct 05 2021(Updated: )
### 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
Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Vyperlang Vyper | <0.3.0 | |
pip/vyper | <0.3.0 | 0.3.0 |
<0.3.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-41122 is a vulnerability in Vyper, a Pythonic Smart Contract Language for the EVM.
CVE-2021-41122 has a severity rating of 4.3 (medium).
CVE-2021-41122 affects Vyper users who are using versions up to 0.2.10.
To fix CVE-2021-41122, users should upgrade to Vyper version 0.3.0 or later.
More information about CVE-2021-41122 can be found in the Vyper GitHub repository and the associated security advisory.