{"id":"EUVD-2023-0601","enisaUuid":"7a547b9f-e778-3360-b172-967403ae854b","description":"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`.\n","datePublished":"Feb 9, 2023, 8:54:07 PM","dateUpdated":"Mar 10, 2025, 9:14:05 PM","baseScore":5.9,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/ipfs/go-bitfield/security/advisories/GHSA-2h6c-j3gf-xp9r\nhttps://github.com/ipfs/go-bitfield/commit/5e1d256fe043fc4163343ccca83862c69c52e579\n","aliases":"CVE-2023-23626\nGHSA-2h6c-j3gf-xp9r\n","assigner":"GitHub_M","epss":0.91,"enisaIdProduct":[{"id":"99684fcd-281c-33ae-8976-f753b289f57e","product":{"name":"go-bitfield","vendor":{"name":"IPFS"}},"product_version":"\u003c 1.1.0"}],"enisaIdVendor":[{"id":"30e0a5f8-e7a5-3f29-a455-64b3bfdfbe3a","vendor":{"name":"IPFS"}}],"enisaIdVulnerability":[{"id":"914834b7-b2b8-338a-98f1-de545f2ad497","vulnerability":{"id":"CVE-2023-23626","description":"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`.\n","datePublished":"Feb 9, 2023, 8:54:07 PM","dateUpdated":"Mar 10, 2025, 9:14:05 PM","status":"PUBLISHED","baseScore":5.9,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/ipfs/go-bitfield/security/advisories/GHSA-2h6c-j3gf-xp9r\nhttps://github.com/ipfs/go-bitfield/commit/5e1d256fe043fc4163343ccca83862c69c52e579\n","enisa_id":"EUVD-2023-0601\n","assigner":"GitHub_M","epss":0.91,"dataProcessed":"Nov 18, 2026, 7:23:11 AM","vulnerabilityProduct":[{"id":"753eebf9-4fc9-373b-b0b8-f3da76652b93","product":{"name":"go-bitfield","vendor":{"name":"IPFS"}},"product_version":"\u003c 1.1.0"}],"vulnerabilityVendor":[{"id":"545e6ff8-1490-3885-b6d8-14f28b3cfa3a","vendor":{"name":"IPFS"}}]}},{"id":"ddc2b342-70c8-34a9-95fa-909aedc45225","vulnerability":{"id":"GHSA-2h6c-j3gf-xp9r","description":"IPFS go-bitfield vulnerable to DoS via malformed size arguments","datePublished":"Feb 10, 2023, 7:52:45 PM","dateUpdated":"Feb 10, 2023, 7:52:45 PM","baseScore":null,"references":"https://github.com/ipfs/go-bitfield/security/advisories/GHSA-2h6c-j3gf-xp9r\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-23626\nhttps://github.com/ipfs/go-bitfield/commit/5e1d256fe043fc4163343ccca83862c69c52e579\nhttps://github.com/ipfs/go-bitfield\nhttps://pkg.go.dev/vuln/GO-2023-1558\n","enisa_id":"EUVD-2023-0601\n","aliases":"GHSA-2h6c-j3gf-xp9r\nCVE-2023-23626\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:31:12 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}