github.com/ipfs/go-unixfsnode
Affected
- introduced
0, fixed1.5.2(semver)
Fixed versions
1.5.2
Fix
- Fixed version
1.5.2go get github.com/ipfs/[email protected]
Advisory
Also known as: CVE-2023-23631, GO-2023-1559
IPFS go-unixfsnode subject to DOS via HAMT Decoding Panics
Impact
Trying to read malformed HAMT sharded directories can cause panics and virtual memory leaks.
If you are reading untrusted user input, an attacker can then trigger a panic.
This is caused by a bogus fanout parameter in the HAMT directory nodes.
This includes checks returned in ipfs/go-bitfield GHSA-2h6c-j3gf-xp9r, as well as limiting the fanout to <= 1024 (to avoid attempts of arbitrary sized allocations).
Patches
References
High Basis: The source's own band: HIGH
0, fixed 1.5.2 (semver)1.5.2
1.5.2go 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0