PT-2022-16880 · Vyper · Vyper
CVSS v2.0
7.5
عالية
| المتجه | AV: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.استغلال
إصلاح
Buffer Overflow
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾
المعرّفات ذات الصلة
المنتجات المتأثرة
Vyper