Improper Certificate Validation Affecting agent_dart package, versions <1.0.0-dev.29
Threat Intelligence
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 ID SNYK-PUB-AGENTDART-8220288
- published 16 Oct 2024
- disclosed 15 Oct 2024
- credit Unknown
Introduced: 15 Oct 2024
CVE-2024-48915 Open this link in a new tabHow 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.