Read the docs
TI-2023-09455 Aliases CVE-2023-23626GHSA-2h6c-j3gf-xp9r

Denial of service when feeding malformed size arguments in go-bitfield

Priority HIGH 66CWE-754Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

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`.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0091 60th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed go-bitfield (ipfs): 1.1.0github.com/ipfs/go-bitfield (Go): 1.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ipfsgo-bitfieldbefore 1.1.01.1.0Patch availableCNA
—github.com/ipfs/go-bitfield (Go)before 1.1.01.1.0Patch availableGHSA-2h6c-j3gf-xp9r
  • go-bitfield Vendoripfs Affected before 1.1.0 Fixed in 1.1.0 Patch available CNA
  • github.com/ipfs/go-bitfield (Go) Vendor— Affected before 1.1.0 Fixed in 1.1.0 Patch available GHSA-2h6c-j3gf-xp9r

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:protocol:go-bitfield:*:*:*:*:*:go:*:*before 1.1.0VulnerableProtocol
  • cpe:2.3:a:protocol:go-bitfield:*:*:*:*:*:go:*:* Versions before 1.1.0 Vulnerable ·Protocol

Remediation

  • Fix · CNA go-bitfield (ipfs) Fixed in 1.1.0
  • Fix · GHSA-2h6c-j3gf-xp9r github.com/ipfs/go-bitfield (Go) Fixed in 1.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-23626
  2. 2026-10-03 Alias added: GHSA-2h6c-j3gf-xp9r

References

  • TI-2023-10871 Boxo bitswap/server: DOS unbounded persistent memory leak CVSS 3.1HIGH 8.2
  • TI-2020-08933 Exposure of Sensitive Information to an Unauthorized Actor in AEgir CVSS 3.1CRITICAL 9.6
  • TI-2022-07554 ProtoNode may be modified such that common method calls may panic in ipfs/go-merkledag CVSS 3.1HIGH 7.5
  • TI-2020-16104 Control character injection in console output CVSS 3.1HIGH 8.8
  • TI-2020-16100 Path traversal in ipfs go-ipfs CVSS 3.1HIGH 8.1
  • TI-2016-08604 Cryptographic flaw in HackerOne go-ipfs-dep node module CVSS 3.0HIGH 8.1
See all 8 →

Sources