{"id":"CVE-2024-32645","state":"PUBLISHED","title":"vyper performs incorrect topic logging in raw_log","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.","publishedAt":"2024-04-25T17:18:27.026Z","updatedAt":"2024-08-02T02:13:40.291Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["vyperlang vyper"],"affected":[{"vendor":"vyperlang","product":"vyper","versions":[{"version":"<= 0.3.10","status":"affected"}]}],"references":["https://github.com/vyperlang/vyper/security/advisories/GHSA-xchq-w5r3-4wg3"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/32xxx/CVE-2024-32645.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-32645","state":"PUBLISHED","datePublished":"2024-04-25T17:18:27.026Z","dateUpdated":"2024-08-02T02:13:40.291Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-04-16T14:15:26.875Z"},"containers":{"cna":{"title":"vyper performs incorrect topic logging in raw_log","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"vyperlang","product":"vyper","versions":[{"version":"<= 0.3.10","status":"affected"}]}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-xchq-w5r3-4wg3","name":"https://github.com/vyperlang/vyper/security/advisories/GHSA-xchq-w5r3-4wg3","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-04-25T17:22:15.234Z"},"source":{"advisory":"GHSA-xchq-w5r3-4wg3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"vyperlang","product":"vyper","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.3.10","versionType":"custom"}],"cpes":["cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-03T17:10:02.463026Z","id":"CVE-2024-32645","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-03T21:01:57.984Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-xchq-w5r3-4wg3","name":"https://github.com/vyperlang/vyper/security/advisories/GHSA-xchq-w5r3-4wg3","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T02:13:40.291Z"}}]}}}