Approved changes feed: RSS · Atom

cpe:2.3:a:dfinity:candid:*:*:*:*:*:rust:*:*

part: a version: * update: *

VendorDfinity (c8f87f47-ebb9-552b-82e1-0a8dcf669351)
ProductCandid (ae2cc6a4-04b4-57aa-8b1a-5b6adb48e934)
Edition*
Language*
Software edition*
Target softwarerust
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2023-6245 vulnerable 2026-06-08 06:19:46.746181 Infinite decoding loop through specially crafted payload
HIGH (7.5)
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.
Published: 2023-12-08T14:26:09.331Z
Updated: 2024-12-02T14:33:16.496Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.