The following code does not properly validate that its input is in bounds.
@external
def foo(x: decimal) -> decimal:
return x
0.3.0 / #2447
Don't use decimal args
{
"cwe_ids": [
"CWE-682"
],
"github_reviewed": true,
"severity": "MODERATE",
"nvd_published_at": "2021-10-05T23:15:00Z",
"github_reviewed_at": "2021-10-06T13:26:05Z"
}