GHSA-7787-p7x6-fq3j
HIGHCVE-2023-6245The 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 type empty is that the candid rust library wrongly categorizes empty as a recoverable error
- Affected
- >=0.9.0, <0.9.10
- Fixed in
- 0.9.10
- Published
- 2023-12-08
- Source
- github