CVE-2021-41122
missing clamps for decimal args in external functions
4.3
MEDIUM
CVSS 3.1
EPSS 0.20%
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.
How to fix CVE-2021-41122
To remediate CVE-2021-41122, upgrade the affected package to a fixed version below.
- —upgrade to 0.3.0 or later
- —upgrade to 0.3.0 or later
Is CVE-2021-41122 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.3.0
- from 0, < 0.3.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |