1. Accueil
  2. Vulnérabilités
  3. CVE-2023-6245

CVE-2023-6245

The Candid library causes a Denial of Service while parsing a specially crafted payload with 'empty' data…

Publiée le 8 déc. 2023 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Moyen 50/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Dfinity (1 ligne(s))
Dfinity
ProduitVersionsCorrigé dansSource
Candid de 0.9.0 (inclus) à 0.9.10 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-835 · Autre (CWE-835)

Comment sont obtenues et calculées ces données