Niedrig

VVE-2021-0002: Incorrect `returndatasize` when using simple forwarder proxies deployed prior to EIP-1167 adoption

  • Veröffentlicht: 19.04.2021
  • Aktualisiert: 11.10.2026 12:18

Background

@tjayrush reported a data handling issue with certain Web3 libraries using Vyper-deploy forwarder proxy contracts using our Vyper's built-in create_forwarder_to function prior to our change to support EIP-1167 style forwarder proxies.

Impact

If you are an end user of a forwarder-style proxy deployed using Vyper's built-in create_forwarder_to function AND you have a function that returns >4096 bytes AND you do no return data sanitation on the value returned, you could potentially see a data corruption issue.

Otherwise, if you are handling the result of a return call AND you expect a specific RETURNDATASIZE that is less than 4096 (such as SafeERC20.safeTransfer) then the call will fail that check.

Patches

The issue was patched when we upgraded to EIP-1167 style forwarder proxies in #2281.

Workarounds

If you are making a call to a contract method that is expected to return <= 4096 bytes, there is no issue as the ABI decoders in both Solidity and Vyper will truncate the data properly. Web3 libraries will also do this, unless you are doing eth_call or eth_sendTransaction directly.

If you are using a Solidity library that checks RETURNDATASIZE of an external call to a forwarder proxy deployed prior to this patch, it will fail on that assertion (such as SafeERC20.safeTransfer). The workaround is to always do a greater than or equal to check, rather than a strict equals to check.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) vyper < 0.2.9 0.2.9

Verweise

CVSS-Wert -
Schwäche (CWE)
CWE-20
Plattform
Python (PyPI)
Paket
vyper
Veröffentlicht
19.04.2021
Aktualisiert
11.10.2026 12:18

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-375m-5fvv-xq23 - CC BY 4.0

Schwachstellenhistorie: vyper

Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (47) im Archiv
Einträge insgesamt
47
Erste → letzte
03.2020 10.2026
Ohne Fix
5
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 3
  • Hoch 14
  • Mittel 20
  • Niedrig 10

Veröffentlichungen pro Jahr

  1. 2020: 1
  2. 2021: 5
  3. 2022: 4
  4. 2023: 14
  5. 2024: 14
  6. 2025: 6
  7. 2026: 3
Schweregrad:
  1. Kritisch · 9.8 CVE-2024-24563 < 0.4.0 0.4.0
  2. Kritisch · 9.8 CVE-2024-24561 < 0.4.0 0.4.0
  3. Hoch · 7.3 CVE-2024-22419 >= 0.3.0, < 0.4.0 0.4.0
  4. Hoch · 7.5 CVE-2023-46247 < 0.3.8 0.3.8
  5. Hoch · 8.1 CVE-2023-42443 >= 0.3.4, < 0.3.10 0.3.10
  6. Kritisch · 8.7 CVE-2023-39363 >= 0.2.15, < 0.3.1 0.3.1
  7. Hoch · 7.5 CVE-2023-32058 < 0.3.8 0.3.8
  8. Hoch · 7.5 CVE-2023-30837 < 0.3.8 0.3.8
  9. Hoch · 7.5 CVE-2023-30629 >= 0.3.1, < 0.3.8 0.3.8
  10. Hoch · 7.5 CVE-2022-29255 < 0.3.4 0.3.4
  11. Hoch · 7.1 CVE-2022-24788 < 0.3.2 0.3.2
  12. Hoch · 7.5 CVE-2022-24787 < 0.3.2 0.3.2
  13. Hoch ghsa-7f92-rr6w-cq64 >= 0.2.13, < 0.2.15 0.2.15
  14. VVE-2021-0002: Incorrect `returndatasize` when using simple forwarder proxies deployed prior to EIP-1167 adoption dieser Eintrag
    Niedrig ghsa-375m-5fvv-xq23 < 0.2.9 0.2.9

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.