CVE-2024-24567
Description
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.
Weakness
- CWE-754: Improper Check for Unusual or Exceptional Conditions
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-02-21 |
Timeline
- 2024-01-30Published by the CNA20:17 UTC
- 2024-01-30GitHub advisory published (GHSA-x2c2-q32w-4w6m)same day
- 2024-02-21CISA SSVC decision recorded22 days after publication
Exploit and advisory records
GitHub advisory GHSA-x2c2-q32w-4w6m, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI vyper | before 0.4.0 | 0.4.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| vyperlang vyper | through 0.3.10no fix listed | not listed |
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-x2c2-q32w-4w6m
- https://github.com/vyperlang/vyper/blob/9136169468f317a53b4e7448389aa315f90b95ba/vyper/builtins/functions.py#L1100
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-24567'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-24567'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-24567'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-24567'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).