CVE-2021-48019
published medium CVSS 4.0 · 6.3Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vyperlang | — | vyper0 to < 0.2.9 (affected · python) · 0.2.9 (unaffected · python) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vyperlang | vyper | 0 to < 0.2.9 (affected · python)0.2.9 (unaffected · python)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-805 Buffer Access with Incorrect Length Value
References
2- GitHub Security Advisory (GHSA-375m-5fvv-xq23) https://github.com/vyperlang/vyper/security/advisories/GHSA-375m-5fvv-xq23
- VulnCheck Advisory: Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies https://www.vulncheck.com/advisories/vyper-before-0.2.9-incorrect-returndatasize-in-create-forwarder-to-proxies
Provider assertions
2VulnCheck · cna
Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1ca272aa3f35b0145d054acad708ab3af404c351861ec30edc9f21b63846476f
- Ingested
- 27 Oct 2026, 21:42:07 UTC
- Source record
- Official CVE record