llamaCVEVulnerability Intelligence
/
vyper

CVE-2024-24560

Vyper external calls can overflow return data to return input buffer

Parche disponible
Descargar PNG JSON
CVSS 3.1
3.7
Baja
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Fuente: CNA
5.3NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a 139 d de la divulgación
Exposición1.020 dDesde la divulgación, 2 feb 2024, 11:19 a. m.
Detección1.004 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Parche 0.4.0
Monitoreo
Detectada
Verificada
2 feb 24
20 jun 24
26 jun 24
1 ago 24
3 nov 26
13 nov 26
19 nov 26
2 feb 24
14 oct 24
27 jun 25
9 mar 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2024-24560 divulgada · CVSS 3.7 (CNA)
Remediación Parche 0.4.0 vyper · 139 d desde divulgación
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. When calls to external contracts are made, we write the input buffer starting at byte 28, and allocate the return buffer to start at byte 0 (overlapping with the input buffer). When checking RETURNDATASIZE for dynamic types, the size is compared only to the minimum allowed size for that type, and not to the returned value's length. As a result, malformed return data can cause the contract to mistake data from the input buffer for returndata. When the called contract returns invalid ABIv2 encoded data, the calling contract can read different invalid data (from the dirty buffer) than the called contract returned.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
vyper≤ 0.3.10
vyper< 0.4.0b1
vyper< 0.4.0
0.3.10
0.4.0b1
0.4.0
0.4.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypivyper
Corregida 0.4.0 139 d 0.4.3 no afectada
Versiones corregidas0.4.0b10.4.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/vyperlang/vyper/security/advisories/GHSA-gp3w-2v2m-p686

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.