CVE-2026-55764
Beschrijving NL
Klever-Go is de Go implementatie van het Klever blockchain protocol. Voorafgaand aan 1.7.19 laat Klever-Go een muntrolhouder een eindige per-nonce MaxSupply omzeilen op het semi-fungibele token add-quantity pad. In core/kapp/systemAccount/systemAcount.go heeft SFTAddCirculation meta.Circulation += hoeveelheid uitgevoerd voordat werd geëvalueerd of Circulation MaxSupply overschreed, zonder te controleren op ondertekende int64-overloop. Een grote positieve ruwe hoeveelheid geleverd via processSemiFungibleAddQuantity in core/kapp/kda/mint.go kan Circulatie negatief verpakken, waardoor de ondertekende vergelijking van het maximale aanbod slaagt en ongeveer MaxInt64-eenheden worden gecrediteerd terwijl de on-chain-teller wordt beschadigd. Het fungibele pad wordt niet beïnvloed omdat de MintedValue <= 0 guard de overloop detecteert. De correctie maakt gebruik van de consensus activeringsvlag FixMarketBuyOverflow. Dit probleem is opgelost in versie 1.7.19.
Origineel (Engels) tonen
Klever-Go is the Go implementation of the Klever blockchain protocol. Prior to 1.7.19, Klever-Go allows a mint-role holder to bypass a finite per-nonce MaxSupply on the semi-fungible token add-quantity path. In core/kapp/systemAccount/systemAcount.go, SFTAddCirculation performed meta.Circulation += amount before evaluating whether Circulation exceeded MaxSupply, without checking for signed int64 overflow. A large positive raw Amount supplied through processSemiFungibleAddQuantity in core/kapp/kda/mint.go can wrap Circulation negative, causing the signed maximum-supply comparison to pass and crediting approximately MaxInt64 units while corrupting the on-chain counter. The fungible path is not affected because its MintedValue <= 0 guard detects the overflow. The correction uses the consensus activation flag FixMarketBuyOverflow. This issue is fixed in version 1.7.19.