CVE-2023-6245Dfinity Candid
Alta 7.5 Sin autenticación
Seguir: esta CVE · Dfinity · Dfinity Candid Te avisamos por email o Slack (requiere cuenta).
- 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
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Candid.
- 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 |
|---|---|---|---|---|
| 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| dfinity | candid | ≥ 0.9.0 < 0.9.10 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Product
- github.com Patch
- github.com Patch Third Party Advisory
- internetcomputer.org Product
- internetcomputer.org Product