1. Archivio CVE
  2. 2023
  3. CVE-2023-32059

CVE-2023-32059

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N 7.5 – Alta

Descrizione

Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, internal calls with default arguments are compiled incorrectly. Depending on the number of arguments provided in the call, the defaults are added not right-to-left, but left-to-right. If the types are incompatible, typechecking is bypassed. The ability to pass kwargs to internal functions is an undocumented feature that is not well known about. The issue is patched in version 0.3.8.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
vyperlang vyper < 0.3.8 –
Tutte le 53 vulnerabilità di Vyperlang Vyper

Tipo di vulnerabilità

CWE-683 Function Call With Incorrect Order of Arguments

The product calls a function, procedure, or routine, but the caller specifies the arguments in an incorrect order.

Impatto sui sistemi

AmbitoImpatto
Altro Degradare la qualità, Dipende dal contesto

Come si previene

Sviluppo Use the function, procedure, or routine as specified.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 3 CVE di tipo CWE-683, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org