Vulnerability Report: GO-2023-1558

When feeding untrusted user input into the size parameter of NewBitfield and FromBytes functions, an attacker can trigger panics. This happens when the size is a not a multiple of 8 or is negative. A workaround is to ensure size%8 == 0 && size >= 0 yourself before calling NewBitfield or FromBytes.

For detailed information about this vulnerability, visit https://github.com/ipfs/go-bitfield/security/advisories/GHSA-2h6c-j3gf-xp9r.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL