Moderate severityNVD Advisory· Published Oct 5, 2021· Updated Aug 4, 2024
Bounds check missing for decimal args in Vyper
CVE-2021-41122
Description
Vyper is a Pythonic Smart Contract Language for the EVM. In affected versions external functions did not properly validate the bounds of decimal arguments. The can lead to logic errors. This issue has been resolved in version 0.3.0.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vyperPyPI | < 0.3.0 | 0.3.0 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-c7pr-343r-5c46ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-41122ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2021-366.yamlghsaWEB
- github.com/vyperlang/vyper/pull/2447ghsax_refsource_MISCWEB
- github.com/vyperlang/vyper/security/advisories/GHSA-c7pr-343r-5c46ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.