CVE-2022-24787
Incorrect Comparison in Vyper
7.5
HIGH
CVSS 3.1
EPSS 0.97%
描述
Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. In version 0.3.1 and prior, bytestrings can have dirty bytes in them, resulting in the word-for-word comparisons giving incorrect results. Even without dirty nonzero bytes, two bytestrings can compare to equal if one ends with `"\x00"` because there is no comparison of the length. A patch is available and expected to be part of the 0.3.2 release. There are currently no known workarounds.
如何修補 CVE-2022-24787
要修補 CVE-2022-24787,請將受影響套件升級到下列已修補版本。
- —升級至 0.3.2 或更新版本
- —升級至 2c73f8352635c0a433423a5b94740de1a118e508 或更新版本
CVE-2022-24787 正在被利用嗎?
低 — EPSS 為 1.0%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 0.3.2
- from 0, < 2c73f8352635c0a433423a5b94740de1a118e508 | from 0, < 0.3.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |