Vulnerability · Published Oct 15, 2024 · Assigned by GitHub_M
CVE-2024-48915Agent Dart missing certificate verification checks
High 8.7
In plain English
A high-severity improper certificate validation in agent_dart from AstroxNetwork. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities).
Official description
Agent Dart is an agent library built for Internet Computer for Dart and Flutter apps. Prior to version 1.0.0-dev.29, certificate verification in `lib/agent/certificate.dart` does not occur properly. During the delegation verification in the `_checkDelegation` function, the canister_ranges aren't verified. The impact of not checking the canister_ranges is that a subnet can sign canister responses in behalf of another subnet. The certificate’s timestamp, i.e /time path, is also not verified, meaning that the certificate effectively has no expiration time. Version 1.0.0-dev.29 implements appropriate certificate verification.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AstroxNetwork | agent_dart | < 1.0.0-dev.29 |
Weakness: CWE-295 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/AstroxNetwork/agent_dart/security/advisories/GHSA-fmj7-7gfw-64pg x_refsource_CONFIRM
- https://github.com/AstroxNetwork/agent_dart/commit/0d200686aabcd9313c7bc3e675cbdc82f6b775cf x_refsource_MISC
- https://github.com/AstroxNetwork/agent_dart/blob/f50971dfae3f536c1720f0084f28afbcf5d99cb5/lib/agent/certificate.dart#L162 x_refsource_MISC
- https://github.com/AstroxNetwork/agent_dart/blob/main/lib/agent/certificate.dart x_refsource_MISC