CVE-2024-48915 Agent Dart missing certificate verification checks
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| AstroxNetwork agent_dart | < 1.0.0-dev.29; = < 1.0.0-dev.29 | 1.0.0-dev.29 | Fixed |
| pub agent_dart(Pub) | <= 1.0.0-dev.28 | after 1.0.0-dev.28 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pub agent_dart(Pub) | <= 1.0.0-dev.28 | No fix listed |
| AstroxNetwork agent_dart | = < 1.0.0-dev.29 | No fix listed |
| AstroxNetwork agent_dart | < 1.0.0-dev.29 | 1.0.0-dev.29 |
References
- https://github.com/AstroxNetwork/agent_dart/security/advisories/GHSA-fmj7-7gfw-64pg vendor-advisory
- https://github.com/AstroxNetwork/agent_dart/commit/0d200686aabcd9313c7bc3e675cbdc82f6b775cf patch
- nvd.nist.gov third-party-advisory
- https://github.com/AstroxNetwork/agent_dart/blob/f50971dfae3f536c1720f0084f28afbcf5d99cb5/lib/agent/certificate.dart#L162
- https://github.com/AstroxNetwork/agent_dart/blob/main/lib/agent/certificate.dart
- github.com