Uncontrolled Resource Consumption Affecting candid package, versions >=0.9.0 <0.9.10


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncontrolled Resource Consumption vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-CANDID-6115071
  • published11 Dec 2023
  • disclosed8 Dec 2023
  • creditvenkkatesh-sekar

Introduced: 8 Dec 2023

CVE-2023-6245  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade candid to version 0.9.10 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption while parsing a specially crafted payload with empty data type. An attacker can crash the service by causing the decoding to run indefinitely until the canister traps due to reaching maximum instruction limit per execution round.

CVSS Scores

version 3.1