Buffer Overflow Affecting vyper package, versions [0,0.3.2)


0.0
high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Integrity High

    Threat Intelligence

    EPSS 0.15% (52nd percentile)
Expand this section
NVD
9.8 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-VYPER-2636640
  • published 14 Apr 2022
  • disclosed 14 Apr 2022
  • credit Unknown

How to fix?

Upgrade vyper to version 0.3.2 or higher.

Overview

vyper is a Pythonic Smart Contract Language for the EVM.

Affected versions of this package are vulnerable to Buffer Overflow by importing a function from a JSON interface which returns bytes and generates bytecode which does not clamp bytes length, potentially resulting in a buffer overrun.

Workaround

Use .vy interfaces.

References