Klever-Go
Klever-Go: Zombie-order theft: `Buy` missing `IsClaimed` guard in native marketplace
Klever-Go is the Go implementation of the Klever blockchain protocol. Prior to 1.7.20, the native marketplace function core/kapp/market/market.go Buy does not check IsClaimed before accepting a bid. A seller can use the Claim seller-accept branch to settle a resting-bid auction while leaving the claimed order loadable with a future EndTime and stale CurrentBid and CurrentBidder values. A later bidder can submit a higher bid, be debited, and cause the previous bidder to receive a refund even though the NFT has already been delivered. Because Claim and CancelOrder reject the later bidder when IsClaimed is true, the later bidder cannot obtain the NFT or recover the funds. This issue is fixed in version 1.7.20.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.7.20
Fixed in 1.7.20
Mitigation
Upgrade klever-go to 1.7.20 or later.
References
- Vendor advisory github.com/klever-io/klever-go/security/adviso…
- Patch github.com/klever-io/klever-go/pull/16
- Patch github.com/klever-io/klever-go/commit/063bb3ed…
1 more
- Release notes github.com/klever-io/klever-go/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.