CVE-2024-32645CWE-20

vyper performs incorrect topic logging in raw_log

Medium · published April 25, 2024

CVSS v3.1
5.3
EPSS
0%
Percentile
38.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00455 · 38.6th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2024-04-25T17:18Z
EPSS history
Timeline
  • 25 APR 17:18Z
    vyper performs incorrect topic logging in raw_log
    cvelistv5