CVE-2023-32059
Vyper vulnerable to incorrect ordering of arguments for kwargs passed to internal calls
7.5
HIGH
CVSS 3.1
EPSS 0.21%
Description
Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, internal calls with default arguments are compiled incorrectly. Depending on the number of arguments provided in the call, the defaults are added not right-to-left, but left-to-right. If the types are incompatible, typechecking is bypassed. The ability to pass kwargs to internal functions is an undocumented feature that is not well known about. The issue is patched in version 0.3.8.
How to fix CVE-2023-32059
To remediate CVE-2023-32059, upgrade the affected package to a fixed version below.
- —upgrade to 0.3.8 or later
- —upgrade to c3e68c302aa6e1429946473769dd1232145822ac or later
Is CVE-2023-32059 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.3.8
- from 0, < c3e68c302aa6e1429946473769dd1232145822ac | from 0, < 0.3.8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |