Skip to main content

klever-go CVE-2026-47249

HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-06-05 https://github.com/klever-io/klever-go GHSA-w342-mj6g-v9c4
7.5
CVSS 3.1 · Vendor: https://github.com/klever-io/klever-go
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Peer with target klever-go node via libp2p
  2. Delivery
    Craft 442-byte compressed RequestDataType_HashArrayType batch
  3. Exploit
    SendToConnectedPeer to resolver request topic
  4. Install
    Antiflood accepts single small message
  5. C2
    Batch.Decompress expands to 200k hash entries
  6. Execute
    TxResolver/TrieNodeResolver iterate unchecked set
  7. Impact
    Memory and CPU exhaustion degrades node availability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target klever-go v1.7.17 node accept inbound P2P connections from the attacker and that the attacker complete a libp2p direct-connect peering so it can invoke SendToConnectedPeer() against the resolver request topic; no user authentication, credentials, or user interaction are needed (CVSS PR:N/UI:N). The specific trigger is a compressed Batch message of type RequestDataType_HashArrayType that fits under the 983,040-byte direct-send limit but decodes into a large number of hash entries handled by TxResolver (data/retriever/resolvers/transactionResolver.go) or TrieNodeResolver (data/retriever/resolvers/trieNodeResolver.go). Practical limits: nodes that restrict inbound peering to an allowlist of known validators, or already running v1.7.18+, are not exploitable; impact is bounded to availability (no data exfiltration or state corruption).

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H gives 7.5 (High) and is consistent with the description: a remote, network-reachable, unauthenticated peer with low complexity achieves a high-availability impact and no confidentiality or integrity loss - squarely a DoS. EPSS and CISA KEV status were not supplied in the input, so no probabilistic or known-exploited signal can be cited; absence of KEV does not rule out targeted abuse. A vendor-published PoC and reproducible test harness (auditpoc/request_batch_hash_amplification_poc.go) materially raise practical exploitability, but the attacker must already be an accepted libp2p peer on the request topic, which moderates mass exploitation risk relative to a fully open internet endpoint. For Klever validators and full nodes the operational risk is real and should be prioritized because availability of consensus participants directly affects chain health; for downstream consumers not running klever-go nodes the risk is negligible.

Exploit ScenarioDerived

An attacker peers with a target klever-go v1.7.17 validator over libp2p, then uses SendToConnectedPeer() to deliver a 442-byte compressed RequestDataType_HashArrayType payload that decompresses into 200,000 hash entries, forcing TxResolver and TrieNodeResolver into ~156 MiB of heap allocation and synchronous lookups per request. By looping this request or fanning it out from several attacker-controlled peers, the adversary exhausts memory and CPU on the validator, degrading or halting block participation; the vendor-published PoC (auditpoc/request_batch_hash_amplification_poc.go) demonstrates the full chain end-to-end.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 05, 2026

Remote denial of service in klever-go v1.7.17 allows any connected P2P peer to send a 442-byte compressed RequestDataType_HashArrayType message that expands into 200,000 decoded hash entries, driving roughly 156 MiB of heap pressure and synchronous CPU work per request inside TxResolver and TrieNodeResolver. The flaw stems from antiflood logic that only counts compressed wire size, leaving validator nodes exposed to resource exhaustion from repeated or concurrent malicious requests. Publicly available exploit code exists (vendor-published PoC) but the issue is not in CISA KEV; EPSS data was not provided.

RemediationAI

Vendor-released patch: upgrade klever-go to v1.7.18 (https://github.com/klever-io/klever-go/releases/tag/v1.7.18), which caps the decoded item count in Batch.Decompress via MaxItemsPerBatch = 8192, closing the amplification in TxResolver and TrieNodeResolver as well as four other coordinated-disclosure DoS issues - the release notes confirm no configuration changes, data migration, or breaking behavior, so node operators should upgrade promptly. Until v1.7.18 is rolled out, compensating controls include tightening libp2p peer admission (restrict accepted inbound peers to a known validator/operator allowlist so unknown peers cannot reach the resolver request topic), lowering the resolver direct-send size budget below the current 983,040-byte limit to shrink the achievable amplification ratio, and adding host-level memory/CPU watchdogs with automatic restart - each control trades off topology flexibility and may disconnect legitimate peers, so they are stopgaps rather than substitutes for the patch. Full details are in the GHSA advisory at https://github.com/klever-io/klever-go/security/advisories/GHSA-w342-mj6g-v9c4 and the GitHub mirror at https://github.com/advisories/GHSA-w342-mj6g-v9c4.

Affected Packages

go github.com/klever-io/klever-go fix: 1.7.18

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

klever-go is the Go implementation of the Klever blockchain node, built on libp2p for peer-to-peer messaging and using protobuf-based compressed Batch messages for request/response data between nodes. The root cause is CWE-400 (Uncontrolled Resource Consumption) in the resolver request path: messageProcessor.go counts only one logical message and the compressed byte size, while Batch.Decompress() in data/batch/batch.go enforces an inflated byte cap but no cap on the number of decoded repeated-field items. TxResolver.requestTopicHandler and TrieNodeResolver then preallocate and iterate the entire unchecked decoded hash slice, producing a classic decompression/zip-bomb-style amplification (~442 bytes in → ~200k entries and ~17 MiB initial heap delta out per request). The CPE pkg:go/github.com_klever-io_klever-go identifies the affected Go module.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/klever-io/klever-go) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH

Primary rating from Vendor (https://github.com/klever-io/klever-go).

CVSS VectorVendor: https://github.com/klever-io/klever-go

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Summary

A connected peer can send a compressed RequestDataType_HashArrayType direct request that is only 442 bytes on the wire but expands into 200000 decoded hash entries inside the resolver path. On klever-go v1.7.17, this allows remote memory and CPU amplification against nodes that accept P2P peer connections.

Details

Resolver antiflood logic accounts only one logical message and the compressed wire size in data/retriever/resolvers/messageProcessor.go#L30.

Batch.Decompress() in data/batch/batch.go#L122 enforces an inflated byte cap but does not enforce a decoded repeated-field item cap. After decompression, TxResolver preallocates and iterates all decoded hashes in data/retriever/resolvers/transactionResolver.go#L194, and TrieNodeResolver iterates the same unchecked decoded set in data/retriever/resolvers/trieNodeResolver.go#L108.

Pinned references:

  • https://github.com/klever-io/klever-go/blob/333f6ec910906e227705fc5767dc897d8fbfc862/data/retriever/resolvers/messageProcessor.go#L30
  • https://github.com/klever-io/klever-go/blob/333f6ec910906e227705fc5767dc897d8fbfc862/data/batch/batch.go#L122
  • https://github.com/klever-io/klever-go/blob/333f6ec910906e227705fc5767dc897d8fbfc862/data/retriever/resolvers/transactionResolver.go#L194
  • https://github.com/klever-io/klever-go/blob/333f6ec910906e227705fc5767dc897d8fbfc862/data/retriever/resolvers/trieNodeResolver.go#L108

This appears distinct from the public CVE-2026-44697 / GHSA-87m7-qffr-542v, which covered MultiDataInterceptor compressed batch fan-in. This report concerns resolver request paths that remain reachable through real libp2p direct-send plumbing on v1.7.17.

PoC

Reproduced with:

bash
go run auditpoc/request_batch_hash_amplification_poc.go
go test github.com/klever-io/klever-go/auditpoc -run TestRequestBatchHashAmplification_DirectSendReachability -count=1

Observed output:

text
request wire bytes: 442
fits direct-send limit (983040 bytes): true
tx resolver lookups: 200000
trie resolver lookups: 200000
heap delta before first tx lookup: 17.47 MiB
ok   github.com/klever-io/klever-go/auditpoc

The E2E harness registers the victim resolver on the request topic and sends the malicious payload through SendToConnectedPeer() to prove the work amplification survives the real direct-send path.

Impact

A connected peer can convert a sub-kilobyte request into large decode-time memory pressure and synchronous CPU work on the target node. Repeated requests or several concurrent peers can degrade or exhaust validator resources, affecting node availability.

Executive ViewAI

Why It Matters

klever-go v1.7.17 is vulnerable to remote denial of service attacks from P2P network peers that can exhaust validator node resources through malicious compressed message expansion; publicly available exploit code exists. Organizations running validator infrastructure face immediate risk of service disruption, and no vendor patch is currently available. This vulnerability directly threatens the availability of blockchain validation operations.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Network segmentation and firewall rules restricting untrusted P2P peer connections; (2) Connection-level rate limiting and per-peer message throttling; (3) Memory and CPU usage monitoring with automated alerting for threshold breaches; (4) Allowlist-based peer connection filtering to trusted nodes only; (5) Connection pooling limits and concurrent connection caps to reduce attack surface.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

pkg:go/github.com_klever-io_klever-go

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy