CVE-2021-41121
Memory corruption when returning a literal struct with a private call inside of it
7.5
HIGH
CVSS 3.1
EPSS 0.42%
Description
Vyper is a Pythonic Smart Contract Language for the EVM. In affected versions when performing a function call inside a literal struct, there is a memory corruption issue that occurs because of an incorrect pointer to the the top of the stack. This issue has been resolved in version 0.3.0.
How to fix CVE-2021-41121
To remediate CVE-2021-41121, 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-41121 being exploited?
Low — EPSS is 0.4%, 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:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |