SCA: security update for github.com/klever-io/klever-go (GHSA-jc6w-wmfc-fh33)

medium Tenable Self-Hosted Container Security Plugin ID 442266

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Klever-Go is the Go implementation of the Klever blockchain protocol. Prior to 1.7.17, KVM exposes
`ExecuteReadOnlyWithTypedArguments` as a read-only execution mechanism. The hook saves the previous read-
only state, sets `runtime.SetReadOnly(true)`, executes the destination context, and then restores the
previous read-only state. However, the indirect contract delete and upgrade paths do not reject execution
when `runtime.ReadOnly()` is true. As a result, a contract reached through read-only execution can call
the production delete hook for a target contract it owns. The delete path appends the target address to
`vmOutput.DeletedAccounts`, the output context merges `DeletedAccounts` into the caller output, and the
smart contract processor later processes the VM output by deleting accounts listed in that field. The root
cause is that read-only mode is applied as runtime state, but not enforced by the state-changing delete
and upgrade host-core paths. This breaks the expected isolation boundary for workflows that rely on read-
only calls to inspect another contract without allowing that callee to produce state-changing VM output.
The issue is fixed in v1.7.17. Contract delete and upgrade host-core paths now reject execution when
`runtime.ReadOnly()` is true. The invariant is regression-tested for delete, upgrade, storage writes,
value transfers, and any VM output field that can later mutate chain state. (CVE-2026-46403)

Solution

Update the github.com/klever-io/klever-go library and its related packages to version 1.7.17 or later.

See Also

https://github.com/advisories/GHSA-jc6w-wmfc-fh33

Plugin Details

Severity: Medium

ID: 442266

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/21/2026

Updated: 7/22/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.3

Percentile: 96.28

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

Vector: CVSS2#AV:N/AC:H/Au:S/C:N/I:C/A:N

CVSS Score Source: CVE-2026-46403

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.5

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/21/2026

Vulnerability Publication Date: 5/21/2026

Reference Information

CVE: CVE-2026-46403

cwe: CWE-693