{"id":"CVE-2024-24567","published":"2024-01-30T20:17:53Z","modified":"2025-06-16T18:48:26Z","title":"raw_call `value=` kwargs not disabled for static and delegate calls","vendor":"vyperlang","product":"vyper","tier":"tail","description":{"text":"Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Vyper compiler allows passing a value in builtin raw_call even if the call is a delegatecall or a staticcall. But in the context of delegatecall and staticcall the handling of value is not possible due to the semantics of the respective opcodes, and vyper will silently ignore the value= argument. If the semantics of the EVM are unknown to the developer, he could suspect that by specifying the `value` kwarg, exactly the given amount will be sent along to the target. This vulnerability affects 0.3.10 and earlier versions.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00485,"percentile":0.42651,"provenance":"source"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-x2c2-q32w-4w6m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vyperlang/vyper/blob/9136169468f317a53b4e7448389aa315f90b95ba/vyper/builtins/functions.py#L1100","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":8.53},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"vyperlang","affectedVersions":[{"vendor":"vyperlang","product":"vyper","versions":["<= 0.3.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-21T20:05:45.628078Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"vyper","vulnerableRanges":["<0.4.0","<0.4.0b1"],"patched":["0.4.0","0.4.0b1"],"from":["GHSA-x2c2-q32w-4w6m","PYSEC-2024-151"],"provenance":"source"}],"summary":{"text":"The Vyper compiler (vyperlang/vyper) fails to reject the value= keyword argument in the raw_call builtin when the call is a delegatecall or staticcall, where value transfer is impossible under EVM semantics, so the argument is silently ignored. An attacker who can get a developer's contract to rely on such a call can exploit the mismatch, though doing so requires specific conditions: the developer must be unaware of the EVM semantics and assume the specified amount is sent, and the attack depends on how the target contract is used.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:29Z"},"euvd":{"id":"EUVD-2024-0178","exploited":false,"provenance":"source"}}