GHSA-c7pr-343r-5c46
GitHub Security Advisory
missing clamps for decimal args in external functions
✓ GitHub Reviewed
MODERATE
Has CVE
Advisory Details
### Impact
The following code does not properly validate that its input is in bounds.
```python
@external
def foo(x: decimal) -> decimal:
return x
```
### Patches
0.3.0 / #2447
### Workarounds
Don't use decimal args
Affected Packages
PyPI
vyper
Affected versions:
0
(fixed in 0.3.0)
Related CVEs
Key Information
5.0
/10
Dataset
Last updated: June 18, 2025 6:25 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.