Importing a function from a JSON interface which returns bytes generates bytecode which does not clamp bytes length, potentially resulting in a buffer overrun.
0.3.2 (as of https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b)
Use .vy interfaces.
{
"cwe_ids": [
"CWE-119",
"CWE-120"
],
"github_reviewed_at": "2022-04-20T20:31:44Z",
"severity": "HIGH",
"nvd_published_at": "2022-04-13T19:15:00Z",
"github_reviewed": true
}