Skip to content
Heist/ feed
Medium

Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies

Type: advisorySource: Official CVE List1 source record

Vyper before 0.2.9 deploys forwarder proxies through the built-in create_forwarder_to function that report a fixed 4096-byte RETURNDATASIZE rather than the actual return data size. Calls through these proxies can yield corrupted data when a function returns more than 4096 bytes without return data sanitation, and fail strict return-size checks such as SafeERC20.safeTransfer.

Announced Group revision 1
Original source ↗

CVE-2021-48019

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2021-48019

vyper

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "vyperlang",
    "product": "vyper",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "0.2.9",
        "versionType": "python"
      },
      {
        "status": "unaffected",
        "version": "0.2.9",
        "versionType": "python"
      }
    ],
    "packageURL": "pkg:pypi/vyper",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2021-48019

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#44927 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement