CVE-2023-6245: Infinite decoding loop through specially crafted payload
Internet Computer · Candid
Vendor fix available · Affected: Internet Computer Candid · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 68% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Internet Computer · Candidfrom 0.9.0 before 0.9.10
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- Internet Computer
- Published
- December 2023
CoverageNo articles yet
No CyberSIXT article names CVE-2023-6245 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-835cwe.mitre.org
- github.com/dfinity/candid/pull/478github.com
- internetcomputer.org/docs/current/references/candid-refinternetcomputer.org
- github.com/dfinity/candid/blob/master/spec/Candid.mdgithub.com
- github.com/dfinity/candid/security/advisories/GHSA-7787-p7x6-fq3github.com
- internetcomputer.org/docs/current/references/ic-interface-specinternetcomputer.org