CVE-2024-32645
vyper performs incorrect topic logging in raw_log
5.3
MEDIUM
CVSS 3.1
EPSS 0.69%
Description
Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, incorrect values can be logged when `raw_log` builtin is called with memory or storage arguments to be used as topics. A contract search was performed and no vulnerable contracts were found in production. The `build_IR` function of the `RawLog` class fails to properly unwrap the variables provided as topics. Consequently, incorrect values are logged as topics. As of time of publication, no fixed version is available.
How to fix CVE-2024-32645
To remediate CVE-2024-32645, upgrade the affected package to a fixed version below.
- —upgrade to 0.4.0 or later
- —upgrade to 0.4.0 or later
Is CVE-2024-32645 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.4.0
- from 0, < 0.4.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |