Security mailing lists by PureSourceCode

CVE-2024-24567

MEDIUM 5.3CVSS 3.1

Vyper's raw_call `value=` kwargs not disabled for static and delegate calls

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.

Published
30 Jan 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-754
Also known as
GHSA-x2c2-q32w-4w6mPYSEC-2024-151
Sources
NVDJSONOSV GHSA-x2c2-q32w-4w6mJSONOSV PYSEC-2024-151JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vyperlang vyper
cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*
<= 0.3.10
OSV PyPI vyper < 0.4.0 0.4.0
OSV PyPI vyper < 0.4.0b1 0.4.0b1

References

History

  • 25 Nov 2026 20:54 UTC · NVD: first stored (published 30 Jan 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Jan 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.