~ / search / GHSA-4mrx-6fxm-8jpg

GHSA-4mrx-6fxm-8jpg

Buffer Overflow in vyper

Source: GitHub Advisory Database (reviewed) High CVE-2022-24788

Packages

EcosystemPackageAffectedFixed in
PyPI vyper < 0.3.2 0.3.2

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact Importing a function from a JSON interface which returns `bytes` generates bytecode which does not clamp bytes length, potentially resulting in a buffer overrun. ### Patches 0.3.2 (as of https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b) ### Workarounds Use .vy interfaces.

References

External links from the advisory. They lead to third-party sites.