UBUNTU-CVE-2023-6245

    Dashboard / Vulnerabilities / UBUNTU-CVE-2023-6245

    UBUNTU-CVE-2023-6245

    Published: 8 Dec 2023Last Modified: 9 Feb 2026
    Upstream:

    Summary:

    Details: 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 packages

    Package

    Name: candid

    Purl: pkg:deb/ubuntu/[email protected]~alpha+201804191824-24b36a9-0ubuntu2?arch=source&distro=bionic

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.0~alpha+201804191824-24b36a9-0ubuntu1
    1.0.0~alpha+201804191824-24b36a9-0ubuntu2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2023-6245 | CVE-DB