Security mailing lists by PureSourceCode

CVE-2023-23626

HIGH 7.5CVSS 3.1

IPFS go-bitfield vulnerable to DoS via malformed size arguments

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

Published
9 Feb 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-1284CWE-754
Also known as
GHSA-2h6c-j3gf-xp9rGO-2023-1558
Sources
NVDJSONOSV GHSA-2h6c-j3gf-xp9rJSONOSV GO-2023-1558JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD protocol go-bitfield
cpe:2.3:a:protocol:go-bitfield:*:*:*:*:*:go:*:*
< 1.1.0 1.1.0
OSV Go github.com/ipfs/go-bitfield < 1.1.0 1.1.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 9 Feb 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Feb 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Feb 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.