CVE-2024-32645

vyper performs incorrect topic logging in raw_log

Published Apr 25, 2024 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0182 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.
Github GHSA Github GHSA GHSA-xchq-w5r3-4wg3 vyper performs incorrect topic logging in raw_log
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 2:13 AM
Reserved
Apr 16, 2024, 2:15 PM
Status
Analyzed
Published
Apr 25, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:30 AM