Amenazas en vivo

Todas las CVE / Dfinity

CVE-2023-6245Dfinity Candid

Alta 7.5 Sin autenticación

Prioridad
60
CVSS 3.1
7.5
EPSS
1.4%
probabilidad de explotación en 30 días · percentil 73
Requiere autenticación
No
Publicada
8 dic 2023
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-20, CWE-168, CWE-835, CWE-1288
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:N/A:H

Qué pasa

The Candid library causes a Denial of Service while parsing a specially crafted payload with 'empty' data type. For example, if the payload is `record { * ; empty }` and the canister interface expects `record { * }` then the Rust candid decoder treats empty as an extra field required by the type. The problem with the type empty is that the candid Rust library wrongly categorizes empty as a recoverable error when skipping the field and thus causing an infinite decoding loop. Canisters using affected versions of candid are exposed to denial of service by causing the decoding to run indefinitely until the canister traps due to reaching maximum instruction limit per execution round. Repeated exposure to the payload will result in degraded performance of the canister. Note: Canisters written in Motoko are unaffected.

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 Candid.
  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
crates.io candid ≥ 0.9.0 < 0.9.10 0.9.10 cargo update -p candid --precise 0.9.10
crates.io candid ≥ 0.9.0 < 0.9.10 0.9.10 cargo update -p candid --precise 0.9.10

Según OSV / GitHub Advisories (GHSA-7787-p7x6-fq3j, RUSTSEC-2023-0073). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
dfinitycandid≥ 0.9.0 < 0.9.10

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.