CVE-2024-32481 — Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine
Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. Starting in version 0.3.8 and prior to version 0.4.0b1, when looping over a `range` of the form `range(start, start + N)`, if `start` is negative, the execution will always revert. This issue is caused
Published
2024-04-25T17:00:54.082Z
Last modified
2024-08-02T02:13:39.300Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
01What is this vulnerability?
Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. Starting in version 0.3.8 and prior to version 0.4.0b1, when looping over a `range` of the form `range(start, start + N)`, if `start` is negative, the execution will always revert. This issue is caused by an incorrect assertion inserted by the code generation of the range `stmt.parse_For_range()`. The issue arises when…
02Affected products
| Vendor | Product | Versions |
|---|
| vyperlang | vyper | >= 0.3.8, < 0.4.0b1 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2024-04-25T17:00:54.082Z
- Last modified: 2024-08-02T02:13:39.300Z
09References
- github.com — https://github.com/vyperlang/vyper/security/advisories/GHSA-ppx5-q359-pvwj
- github.com — https://github.com/vyperlang/vyper/commit/3de1415ee77a9244eb04bdb695e249d3ec9ed8…
- github.com — https://github.com/vyperlang/vyper/commit/5319cfbe14951e007ccdb323257e5ada869b35…
- github.com — https://github.com/vyperlang/vyper/blob/9136169468f317a53b4e7448389aa315f90b95ba…
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →