GHSA-QWVM-WQQ8-8J69

Vulnerability from github – Published: 2025-09-30 21:06 – Updated: 2025-10-23 20:34
VLAI?
Summary
github.com/MANTRA-Chain/mantrachain/x/tokenfactory tx gas limit is not enforced in send hooks
Details

Impact

send hooks can spend more gas than what's remained in tx, combined with recursive calls in the wasm contract, can amplify the gas consumption exponentially.

Patches

It's patched in v4.0.2 and v5.0.0

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/MANTRA-Chain/mantrachain/v4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.0.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c 4.0.2"
      },
      "package": {
        "ecosystem": "Go",
        "name": "github.com/MANTRA-Chain/mantrachain/v3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c 4.0.2"
      },
      "package": {
        "ecosystem": "Go",
        "name": "github.com/MANTRA-Chain/mantrachain/v2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c 4.0.2"
      },
      "package": {
        "ecosystem": "Go",
        "name": "github.com/MANTRA-Chain/mantrachain"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-61595"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400",
      "CWE-770"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-09-30T21:06:02Z",
    "nvd_published_at": "2025-10-02T20:15:35Z",
    "severity": "HIGH"
  },
  "details": "### Impact\n\nsend hooks can spend more gas than what\u0027s remained in tx, combined with recursive calls in the wasm contract, can amplify the gas consumption exponentially.\n\n### Patches\n\nIt\u0027s patched in v4.0.2 and v5.0.0\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_",
  "id": "GHSA-qwvm-wqq8-8j69",
  "modified": "2025-10-23T20:34:29Z",
  "published": "2025-09-30T21:06:02Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/MANTRA-Chain/mantrachain/security/advisories/GHSA-qwvm-wqq8-8j69"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-61595"
    },
    {
      "type": "WEB",
      "url": "https://github.com/MANTRA-Chain/mantrachain/issues/432"
    },
    {
      "type": "WEB",
      "url": "https://github.com/MANTRA-Chain/mantrachain/commit/30d36c46e9823b56b8f0dcbb66e980ca5df284e4"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/MANTRA-Chain/mantrachain"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev/vuln/GO-2025-3997"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "github.com/MANTRA-Chain/mantrachain/x/tokenfactory tx gas limit is not enforced in send hooks"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…