PT-2022-16880
CVE-2022-24788
·
Published
2022-04-13
·
Updated
2023-08-02
Description by
CVSS 2.0
7.5
HighMetricsAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions
Vyper versions prior to 0.3.2
Description
The issue arises when importing a function from a JSON interface that returns
bytes, generating bytecode that does not clamp the bytes length, potentially resulting in a buffer overrun. There are no known real-world incidents or estimated numbers of affected devices mentioned.Recommendations
For versions prior to 0.3.2, upgrade to version 0.3.2 or later to resolve the issue.
As a temporary workaround, consider using .vy interfaces instead of importing from JSON interfaces that return
bytes.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾