-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| vyper | pip | < 0.3.8 | 0.3.8 |
The vulnerability stems from improper range validation in loop construction. The commit diff shows the fix was applied in vyper/codegen/stmt.py's _parse_For_range function by adding a clamp check. This function handles range-based loops and previously didn't validate that 'start + rounds' stays within the type's bounds. The added clamp('le', start, hi + 1 - rounds) prevents overflow by ensuring the loop iterations don't exceed the type's maximum value. The test cases added in the commit specifically target this pattern of 'range(x, x+N)' loops, confirming this was the vulnerable code path.
Ongoing coverage of React2Shell