Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In affected versions, the return of `<iface>.returns_int128()` is not validated to fall within the bounds of `int128`. This issue can result in a misinterpretation of the integer value and lead to incorrect behavior. As of v0.3.0, `<iface>.returns_int128()` is validated in simple expressions, but not complex expressions. Users are advised to upgrade. There is no known workaround for this issue.
References
Link | Resource |
---|---|
https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b | Patch Third Party Advisory |
https://github.com/vyperlang/vyper/security/advisories/GHSA-j2x6-9323-fp7h | Exploit Patch Third Party Advisory |
https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b | Patch Third Party Advisory |
https://github.com/vyperlang/vyper/security/advisories/GHSA-j2x6-9323-fp7h | Exploit Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 06:51
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 8.8 |
References | () https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b - Patch, Third Party Advisory | |
References | () https://github.com/vyperlang/vyper/security/advisories/GHSA-j2x6-9323-fp7h - Exploit, Patch, Third Party Advisory |
02 Aug 2023, 16:22
Type | Values Removed | Values Added |
---|---|---|
First Time |
Vyperlang
Vyperlang vyper |
|
CPE | cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:* |
Information
Published : 2022-04-13 22:15
Updated : 2024-11-21 06:51
NVD link : CVE-2022-24845
Mitre link : CVE-2022-24845
CVE.ORG link : CVE-2022-24845
JSON object : View
Products Affected
vyperlang
- vyper
CWE
CWE-190
Integer Overflow or Wraparound