CVE-2022-24845
HIGH8.8EPSS 0.40%Integer bounds error in Vyper
發布日:2022/4/22修改日:2023/11/8
描述
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.
受影響套件(2)
- PyPI/vyperfrom 0, < 0.3.2
- PyPI/vyperfrom 0, < 049dbdc647b2ce838fae7c188e6bb09cf16e470b | from 0, < 0.3.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-24845
- PATCHhttps://github.com/vyperlang/vyper
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2022-198.yaml
- WEBhttps://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b
- WEBhttps://github.com/vyperlang/vyper/security/advisories/GHSA-j2x6-9323-fp7h