SecurityContext

CVE-2024-32646: Vyper - Server-Side Template Injection

  • Cve: CVE-2024-32646
  • Name: Vyper - Server-Side Template Injection
  • Description: Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, using the `slice` builtin can result in a double eval vulnerability when the buffer argument is either `msg.data`, `self.code` or `<address>.code` and either the `start` or `length` arguments have side-effects. It can be easily triggered only with the versions `<0.3.4` as `0.3.4` introduced the unique symbol fence. 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 are available.
  • Impact: Low impact as no vulnerable production contracts were found and double evaluation should be easily discoverable in tests.
  • Remediation: No fixed versions are available at this time.
  • Vulnerability type: template_injection
  • Vulnerability impact: remote_code_execution
  • 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.39997
  • 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: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-32646
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-20Improper Input Validation
NVD-CWE-Other—

References

UrlSourceTags
https://github.com/vyperlang/vyper/security/advisories/GHSA-r56x-j438-vw5mnvdVendor Advisory

Products

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

Projects

RepositoryLink kindsIndexedUrl
vyperlang/vyperfix, package, pull, 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