github.com/ipfs/go-bitfield
Affected
- introduced
0, fixed1.1.0(semver)
Fixed versions
1.1.0
Fix
- Fixed version
1.1.0go get github.com/ipfs/[email protected]
Advisory
Also known as: CVE-2023-23626, GHSA-2h6c-j3gf-xp9r
Denial of service via malformed size parameters in github.com/ipfs/go-bitfield
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.
Not rated by the source.
0, fixed 1.1.0 (semver)1.1.0
1.1.0go get github.com/ipfs/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0