CVE-2023-40014Openzeppelin Contracts
Media 5.3 Sin autenticación
Seguir: esta CVE · Openzeppelin · Openzeppelin Contracts Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.8% probabilidad de explotación en 30 días · percentil 52
- Requiere autenticación
- No
- Publicada
- 10 ago 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-116
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Qué pasa
OpenZeppelin Contracts is a library for secure smart contract development. Starting in version 4.0.0 and prior to version 4.9.3, contracts using `ERC2771Context` along with a custom trusted forwarder may see `_msgSender` return `address(0)` in calls that originate from the forwarder with calldata shorter than 20 bytes. This combination of circumstances does not appear to be common, in particular it is not the case for `MinimalForwarder` from OpenZeppelin Contracts, or any deployed forwarder the team is aware of, given that the signer address is appended to all calls that originate from these forwarders. The problem has been patched in v4.9.3.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Openzeppelin 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.0.0 < 4.9.3 |
4.9.3 |
npm install @openzeppelin/contracts@4.9.3 |
| npm | @openzeppelin/contracts-upgradeable |
≥ 4.0.0 < 4.9.3 |
4.9.3 |
npm install @openzeppelin/contracts-upgradeable@4.9.3 |
Según OSV / GitHub Advisories (GHSA-g4vp-m682-qqmp). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| openzeppelin | openzeppelin_contracts | ≥ 4.0.0 < 4.9.3 |
| openzeppelin | openzeppelin_contracts-upgradable | ≥ 4.0.0 < 4.9.3 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch
- github.com Patch Vendor Advisory
- github.com Patch Vendor Advisory
- github.com Release Notes
- github.com Vendor Advisory