Amenazas en vivo

Todas las CVE / Openzeppelin

CVE-2022-39384Openzeppelin Contracts

Media 5.6 Sin autenticación

Prioridad
49
CVSS 3.1
5.6
EPSS
0.8%
probabilidad de explotación en 30 días · percentil 53
Requiere autenticación
No
Publicada
4 nov 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-665
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Qué pasa

OpenZeppelin Contracts is a library for secure smart contract development. Before version 4.4.1 but after 3.2.0, initializer functions that are invoked separate from contract creation (the most prominent example being minimal proxies) may be reentered if they make an untrusted non-view external call. Once an initializer has finished running it can never be re-executed. However, an exception put in place to support multiple inheritance made reentrancy possible in the scenario described above, breaking the expectation that there is a single execution. Note that upgradeable proxies are commonly initialized together with contract creation, where reentrancy is not feasible, so the impact of this issue is believed to be minor. This issue has been patched, please upgrade to version 4.4.1. As a workaround, avoid untrusted external calls during initialization.

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 Contracts.
  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
npm @openzeppelin/contracts < 4.4.1 4.4.1 npm install @openzeppelin/contracts@4.4.1
npm @openzeppelin/contracts ≥ 3.2.0 < 4.4.1 4.4.1 npm install @openzeppelin/contracts@4.4.1
npm @openzeppelin/contracts-upgradeable ≥ 3.2.0 < 4.4.1 4.4.1 npm install @openzeppelin/contracts-upgradeable@4.4.1

Según OSV / GitHub Advisories (GHSA-88g8-f5mf-f5rj, GHSA-9c22-pwxw-p6hx). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
openzeppelincontracts≥ 3.2.0 < 4.4.1
openzeppelincontracts_upgradeable≥ 3.2.0 < 4.4.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.