CVE-2023-6245
Last modified
CVE-2023-6245 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.21% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Dfinity | Candid | >= 0.9.0, < 0.9.10 |
References
- https://github.com/dfinity/candid/security/advisories/GHSA-7787-p7x6-fq3jPatch, Third Party Advisory
- https://github.com/dfinity/candid/security/advisories/GHSA-7787-p7x6-fq3jPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-6245?
How severe is CVE-2023-6245?
How do I fix CVE-2023-6245?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-6239Under rare conditions, the effective permissions of an objec…8.8
- CVE-2023-6240A Marvin vulnerability side-channel leakage was found in the…6.5
- CVE-2023-6241Use After Free vulnerability in Arm Ltd Midgard GPU Kernel D…7
- CVE-2023-6242The EventON - WordPress Virtual Event Calendar Plugin plugin…4.3
- CVE-2023-6243The EventON PRO - WordPress Virtual Event Calendar Plugin pl…4.3
- CVE-2023-6244The EventON - WordPress Virtual Event Calendar Plugin plugin…4.3
- CVE-2023-6246A heap-based buffer overflow was found in the __vsyslog_inte…7.8
- CVE-2023-6247The PKCS#7 parser in OpenVPN 3 Core Library versions through…6.5
- CVE-2023-6248The Syrus4 IoT gateway utilizes an unsecured MQTT server to …9.8
- CVE-2023-6249Signed to unsigned conversion esp32_ipm_send9.8
- CVE-2023-6250The BestWebSoft's Like & Share WordPress plugin before 2.74 …7.5
- CVE-2023-6251Cross-site Request Forgery (CSRF) in Checkmk < 2.2.0p15, < 2…3.5
Are you affected by CVE-2023-6245?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
