- Accueil
- Vulnérabilités
- CVE-2023-6245
CVE-2023-6245
The Candid library causes a Denial of Service while parsing a specially crafted payload with 'empty' data…
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Références
- https://github.com/dfinity/candid/pull/478Patch
- https://github.com/dfinity/candid/security/advisories/GHSA-7787-p7x6-fq3jPatch, Third Party Advisory
- https://github.com/dfinity/candid/blob/master/spec/Candid.mdProduct
- https://internetcomputer.org/docs/current/references/candid-refProduct
- https://internetcomputer.org/docs/current/references/ic-interface-specProduct
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)