SCA: security update for github.com/ipfs/go-bitfield (GHSA-2h6c-j3gf-xp9r)

high Tenable Cloud Security Plugin ID 408934

Description

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

- go-bitfield is a simple bitfield package for the go language aiming to be more performant that the
standard library. When feeding untrusted user input into the size parameter of `NewBitfield` and
`FromBytes` functions, an attacker can trigger `panic`s. This happen when the `size` is a not a multiple
of `8` or is negative. There were already a note in the `NewBitfield` documentation, however known users
of this package are subject to this issue. Users are advised to upgrade. Users unable to upgrade should
ensure that `size` is a multiple of 8 before calling `NewBitfield` or `FromBytes`. (CVE-2023-23626)

See Also

https://github.com/advisories/GHSA-2h6c-j3gf-xp9r

Plugin Details

Severity: High

ID: 408934

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2023-23626

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/10/2023

Vulnerability Publication Date: 2/9/2023

Reference Information

CVE: CVE-2023-23626