Amenazas en vivo

Todas las CVE / Vyperlang

CVE-2024-22419Vyperlang Vyper

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
1.0%
probabilidad de explotación en 30 días · percentil 62
Requiere autenticación
No
Publicada
18 ene 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-120, CWE-787
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. The `concat` built-in can write over the bounds of the memory buffer that was allocated for it and thus overwrite existing valid data. The root cause is that the `build_IR` for `concat` doesn't properly adhere to the API of copy functions (for `>=0.3.2` the `copy_bytes` function). A contract search was performed and no vulnerable contracts were found in production. The buffer overflow can result in the change of semantics of the contract. The overflow is length-dependent and thus it might go unnoticed during contract testing. However, certainly not all usages of concat will result in overwritten valid data as we require it to be in an internal function and close to the return statement where other memory allocations don't occur. This issue has been addressed in 0.4.0.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Vyper.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI vyper ≥ 0.3.0 < 0.4.0 0.4.0 pip install "vyper>=0.4.0"
PyPI vyper < 0.4.0b1 0.4.0b1 pip install "vyper>=0.4.0b1"

Según OSV / GitHub Advisories (GHSA-2q8v-3gqq-4f8p, PYSEC-2024-103). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
vyperlangvyper≤ 0.3.10

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.