SecurityContext

CVE-2024-32647: Vyper - Undefined

  • Cve: CVE-2024-32647
  • Name: Vyper - Undefined
  • Description: Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, using the `create_from_blueprint` builtin can result in a double eval vulnerability when `raw_args=True` and the `args` argument has side-effects. It can be seen that the `_build_create_IR` function of the `create_from_blueprint` builtin doesn't cache the mentioned `args` argument to the stack. As such, it can be evaluated multiple times (instead of retrieving the value from the stack). No vulnerable production contracts were found. Additionally, double evaluation of side-effects should be easily discoverable in client tests. As such, the impact is low. As of time of publication, no fixed versions exist.
  • Impact: Low impact as no vulnerable contracts were found and double evaluation is easily discoverable in tests.
  • Remediation: No fixed versions exist as of now; monitor for updates or consider avoiding `create_from_blueprint` with `raw_args=True` and side-effect `args`.
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00451
  • Epss percentile: 0.39994
  • Assignee: [email protected]
  • Published at: 2024-04-25T18:15:08Z
  • Age in days: 943
  • Modified at: 2026-06-17T07:30:01Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-32647
  • Nvd status: analyzed
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code
NVD-CWE-Other—

References

UrlSourceTags
https://github.com/vyperlang/vyper/security/advisories/GHSA-3whq-64q2-qfj6nvdVendor Advisory
https://github.com/vyperlang/vyper/blob/cedf7087e68e67c7bfbd47ae95dcb16b81ad2e02/vyper/builtins/functions.py#L1847nvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
vyperlang:vyper< 0.4.0nonvd/v1/products/vyperlang/vyper

Projects

RepositoryLink kindsIndexedUrl
vyperlang/vyperfix, package, security_advisoryyes/v1/repositories/vyperlang/vyper

Index

  • Repositories: 5
  • Repositories high signal: 3
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts