Skip to content
Heist/ feed
Back to feed
High

Agent Dart missing certificate verification checks

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-48915
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:06 UTC · Revision 1

Source evidence

Agent Dart missing certificate verification checks

core-osv · Original source

Published 15 Oct 2024, 17:12 UTC

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.

osv:CVE-2024-48915
Complete source record
{
  "id": "5327541c88676561bc4b0b877212214c9e9e21e5a58da56895c3e81b06a55188",
  "url": "https://osv.dev/vulnerability/CVE-2024-48915",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Agent Dart missing certificate verification checks",
    "summary": "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.",
    "evidence": "osv:CVE-2024-48915",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-48915",
      "aliases": [
        "CVE-2024-48915",
        "GHSA-fmj7-7gfw-64pg"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/astroxnetwork/agent_dart",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f0489ee8af6d2a0b234d92e05356208e43beafa3"
                },
                {
                  "fixed": "0d200686aabcd9313c7bc3e675cbdc82f6b775cf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.0-dev.29"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0d200686aabcd9313c7bc3e675cbdc82f6b775cf"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.0-dev.28",
            "v1.0.0-dev.27",
            "v1.0.0-dev.26"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-48915.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.532241723Z",
      "provider": "osv",
      "references": [
        "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",
        "https://github.com/AstroxNetwork/agent_dart/security/advisories/GHSA-fmj7-7gfw-64pg",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48915.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-48915",
        "https://github.com/AstroxNetwork/agent_dart/commit/0d200686aabcd9313c7bc3e675cbdc82f6b775cf"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-295"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48915.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-48915",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521198,
  "published_at": "2024-10-15T17:12:31.4+00:00"
}