Moderate severityNVD Advisory· Published Apr 25, 2024· Updated Aug 2, 2024
vyper performs incorrect topic logging in raw_log
CVE-2024-32645
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vyperPyPI | < 0.4.0 | 0.4.0 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-xchq-w5r3-4wg3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-32645ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2024-206.yamlghsaWEB
- github.com/vyperlang/vyper/security/advisories/GHSA-xchq-w5r3-4wg3ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.