CVE-2022-24845
Integer bounds error in Vyper
8.8
HIGH
CVSS 3.1
EPSS 0.40%
Description
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.
How to fix CVE-2022-24845
To remediate CVE-2022-24845, upgrade the affected package to a fixed version below.
- —upgrade to 0.3.2 or later
- —upgrade to 049dbdc647b2ce838fae7c188e6bb09cf16e470b or later
Is CVE-2022-24845 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.3.2
- from 0, < 049dbdc647b2ce838fae7c188e6bb09cf16e470b | from 0, < 0.3.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |