GHSA-4mrx-6fxm-8jpgHighCVSS 7.1
Buffer Overflow in vyper
🔗 CVE IDs covered (1)
📋 Description
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.
🎯 Affected products1
- pip/vyper:< 0.3.2
🔗 References (5)
- https://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg
- https://nvd.nist.gov/vuln/detail/CVE-2022-24788
- https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b
- https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2022-197.yaml
- https://github.com/advisories/GHSA-4mrx-6fxm-8jpg