CVE-2022-39384Openzeppelin Contracts
Media 5.6 Sin autenticación
Seguir: esta CVE · Openzeppelin · Openzeppelin Contracts Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Contracts.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Có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)
| Fabricante | Producto | Versiones |
|---|---|---|
| openzeppelin | contracts | ≥ 3.2.0 < 4.4.1 |
| openzeppelin | contracts_upgradeable | ≥ 3.2.0 < 4.4.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory