Improper Certificate Validation Affecting agent_dart package, versions <1.0.0-dev.29


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (18th 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 IDSNYK-PUB-AGENTDART-8220288
  • published16 Oct 2024
  • disclosed15 Oct 2024
  • creditUnknown

Introduced: 15 Oct 2024

CVE-2024-48915  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade agent_dart to version 1.0.0-dev.29 or higher.

Overview

agent_dart is an agent library built for Internet Computer, a plugin package for dart and flutter apps. Developers can build ones to interact with Dfinity's blockchain directly.

Affected versions of this package are vulnerable to Improper Certificate Validation due to improper handling in the _checkDelegation function. An attacker can impersonate a subnet and sign canister responses on behalf of another subnet by exploiting unchecked canister_ranges. Additionally, the lack of verification for the certificate's timestamp allows the certificate to effectively have no expiration time.

CVSS Scores

version 4.0
version 3.1