ADVISORIES

Go Vulnerability Database

GO-2023-1559

Denial of service via HAMT decoding panic in github.com/ipfs/go-unixfsnode

Details

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.

There are no known workarounds (users are advised to upgrade).

Affected packages

EcosystemPackageAffected versions
Gogithub.com/ipfs/go-unixfsnode
All versions before 1.5.2 (fixed in 1.5.2)

References