Skip to content
Heist/ feed
High

Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays

Type: advisorySource: Official CVE List1 source record

Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption vulnerability caused by an incorrect stack tip pointer when internal function calls are performed inside arrays. Contracts placing internal calls in nested array elements, external call arguments, struct literals, or raw_log topics can have memory corrupted, producing incorrect contract behavior.

Announced Source revision 1
Original source ↗

CVE-2021-48020

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-48020

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.1.0b4",
        "lessThan": "0.3.0",
        "versionType": "python"
      },
      {
        "status": "unaffected",
        "version": "0.3.0",
        "versionType": "python"
      }
    ],
    "packageURL": "pkg:pypi/vyper",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2021-48020

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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